Hi, I noticed a strange behaviour in the console output when the performance ends.
For example, if I have the following csd and run it in Cabbage:
<CsoundSynthesizer>
<CsOptions>
-n -d
</CsOptions>
<CsInstruments>
; Initialize the global variables.
sr = 44100
ksmps = 32
nchnls = 2
0dbfs = 1
instr 1
; do nothing
endin
</CsInstruments>
<CsScore>
i1 0 1
</CsScore>
</CsoundSynthesizer>
The output will be:
UnifiedCSD: C:\Users\Mauro\doNothing.csd
STARTING FILE
Creating options
Creating orchestra
closing tag
Creating score
rtaudio: PortAudio module enabled ...
using callback interface
rtmidi: PortMIDI module enabled
sample rate overrides: esr = 44100.0000, ekr = 1378.1250, ksmps = 32
Elapsed time at end of orchestra compile: real: 0.003s, CPU: 0.003s
sorting score ...
... done
Elapsed time at end of score sort: real: 0.003s, CPU: 0.003s
displays suppressed
0dBFS level = 1.0
orch now loaded
audio buffered in 4096 sample-frame blocks
SECTION 1:
new alloc for instr 1:
B 0.000 .. 1.000 T 1.000 TT 1.000 M: 0.00000 0.00000
Score finished in csoundPerformKsmps() with 2.
Score finished in csoundPerformKsmps() with 2.
Score finished in csoundPerformKsmps() with 2.
Score finished in csoundPerformKsmps() with 2.
Score finished in csoundPerformKsmps() with 2.
Score finished in csoundPerformKsmps() with 2.
Score finished in csoundPerformKsmps() with 2.
Score finished in csoundPerformKsmps() with 2.
Score finished in csoundPerformKsmps() with 2.
Score finished in csoundPerformKsmps() with 2.
Score finished in csoundPerformKsmps() with 2.
Score finished in csoundPerformKsmps() with 2.
The number of the above “Score finished in csoundPerformKsmps() with 2.” lines is always different at each run. What they mean? Why their number always changes at each execution?
P.S.: I’m on a Windows 10 machine.