| Hi Tarmo,
thanks for your kind help.
executing this:
--env:SSDIR+=../SourceMaterials -ndm0
-+rtaudio=0
-odac
sr = 44100
ksmps = 32
0dbfs = 1
nchnls = 1
seed 0
instr 1
iLine[] array .2, .5, .3
iVal random 0, 1
iAccum = iLine[0]
iIndex = 0
until iAccum >= iVal do
iIndex += 1
iAccum += iLine[iIndex]
enduntil
printf_i "Random number = %.3f, next element = %c!\n", 1, iVal, iIndex+97
endin
r 10
i 1 0 0
this is the ouput in the command line:
(base) marco@marco-U36SG:~$ csoundqt
0dBFS level = 32768,0
--Csound version 6.10 (double samples) 2018-01-27
[commit: none]
libsndfile-1.0.28
end of score. overall amps: 0,0
overall samples out of range: 0
0 errors in performance
Elapsed time at end of performance: real: 0,000s, CPU: 0,000s
WidgetLayout::loadXmlWidgets Older Widget Format version
DocumentPage::getMacOptions() Option Options: not found!
DocumentPage::applyMacOptions() no Geometry!
loaded.
Found manual in: "/usr/share/doc/csound-doc/html/"
CsoundQt::execute "\"/home/marco/csoundCppAPIexamples/csdFiles/global_audio_add.csd\" \"test.wav\"" "/usr/share/qutecsound/Examples/FLOSS Manual Examples/01 Basics"
Launched external program with id: 13671
CsoundQt::play()...
WidgetLayout::loadXmlWidgets Older Widget Format version
DocumentPage::getMacOptions() Option Options: not found!
DocumentPage::applyMacOptions() no Geometry!
loaded.
WidgetLayout::loadXmlWidgets Older Widget Format version
DocumentPage::getMacOptions() Option Options: not found!
DocumentPage::applyMacOptions() no Geometry!
loaded.
CsoundQt::play()...
0dBFS level = 32768,0
--Csound version 6.10 (double samples) 2018-01-27
[commit: none]
libsndfile-1.0.28
csound
-b1024
-B2048
-+rtaudio=pa_cb
-iadc2
-odac7
--env:CSNOSTOP=yes
/tmp/csoundqt-temp.csd
Csound compile failed! -1
and trying to execute Examples->Floss Manual Examples->QuickStart->GetDeviceList :
this is the output in the command line of the Ubuntu 18.04.02 Desktop:
WidgetLayout::loadXmlWidgets Older Widget Format version
DocumentPage::getMacOptions() Option Options: not found!
DocumentPage::applyMacOptions() no Geometry!
loaded.
WidgetLayout::loadXmlWidgets Older Widget Format version
DocumentPage::getMacOptions() Option Options: not found!
DocumentPage::applyMacOptions() no Geometry!
loaded.
WidgetLayout::loadXmlWidgets Older Widget Format version
DocumentPage::getMacOptions() Option Options: not found!
DocumentPage::applyMacOptions() no Geometry!
loaded.
CsoundQt::play()...
0dBFS level = 32768,0
--Csound version 6.10 (double samples) 2018-01-27
[commit: none]
libsndfile-1.0.28
ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
csound
-b1024
-B2048
-+rtaudio=pa_cb
-iadc2
-odac7
--env:CSNOSTOP=yes
/usr/share/qutecsound/Examples/FLOSS Manual Examples/02 Quick Start/02D01_GetDeviceList.csd
CsoundEngine::stopCsound() joined
QObject::connect: Cannot queue arguments of type 'QTextCursor'
(Make sure 'QTextCursor' is registered using qRegisterMetaType().)
QObject::connect: Cannot queue arguments of type 'QTextCharFormat'
(Make sure 'QTextCharFormat' is registered using qRegisterMetaType().)
what does it mean?
Marco
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |