Hi Iain, Perhaps I'm not quite understanding exactly what you are doing, but couldn't you do what you are requesting by using notes with fractional instrument numbers, using turnoff2 in an instrument, and perhaps one extra instrument that does the turning off? You could use line events to signal the turn off instrument what instrument number to disable, and then manage yourself (in python or csound code) the assignment of instances by the fraction part of the note number. As for polyphonic legato, this should be possible with just the fractional instrument number feature (I am using this for streams of distinct glissandi sounds). Not as tight a coupling as assigned unique ID's, but I think it'd be a lot of the same logic whether within Csound itself or outside of it, and I'd imagine a lot easier to implement outside of it. steven On 3/13/06, Iain Duncan wrote: > I have been thinking of this for a while but politely keeping quiet > until 5.00 was released. ;) > > Would it be possible to add a new opcode (and equivalent api function) > that acted as event does, but returned a guaranteed unique value that is > a handle to that particular note instance, along with a second that acts > like turnoff but accepts an argument of an instance to turn off? This > combined with the extra time features would IMHO dramatically improve > csound for realtime use. Even better would be the change to signal an > already running instance. For me personally, it would allow me to handle > midi controlled and score controlled events in the exact same manner and > make per note polyphonic legato much easier to implement. > > Thoughts? > > Iain > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net