To see this in action:
I have added these two lines to instr 10 of the Midi_Note_Recorder
Cabbage csd by Ian M.
printks “i %2.0f\t%15.6f\t%15.6f\t%d\t%d\n”, .5, 11, iStart, kDur, iNote, iVel
fprintks “scor.orc”, “i %2.0f\t%15.6f\t%15.6f\t%d\t%d\n”, 11, iStart, kDur, iNote, iVel
The fprintks only writes the last played notes, it does not append…(This is a Csound problem under OS X)
The result of printks is also unexpected, it appends the 2 integers to the floating point in the Cabbage output window:
i 11 2.368435 0.2323813668 ; Should be " 36 68"
Richard