There was an issue with turnoff some months ago, what Csound version are you using ? Oeyvind 2008/2/29, Chuckk Hubbard : > Hi. I'm not sure what the problem is, but sending a turnoff message > from this Pd patch, if there is more than one note playing, crashes > Csound and Pd. It happens whether I send a message to instantiate > instrument 10 with the turnoff number as a p-field, or I set instr 10 > to run all the time and only send messages when it receives a voice > number through chnget. > I'm using decimal instrument numbers. If only one voice is playing, > it turns off fine; if two are playing, it crashes. If I play the list > of notes loaded in the [qlist] object, it crashes as soon as it > reaches a noteoff. > If the commented parts of the .csd file are uncommented and the lines > with p4 and turnoff are commented out, then it should work with the > chnset messages from Pd instead of the instr 10 events. > If, instead, I comment out the line for turnoff2, and print the output > of csoundapi~, it in fact prints the outvalue of koff *twice* each > time I hit instr 10, even though it's set to turnoff immediately. > > Any ideas what could be wrong? > > Thanks. > -Chuckk > > -- > http://www.badmuthahubbard.com > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" >