Hi Toby, I was thinking about this last night and in non-Csound terms it seems that it could be implemented as linked list of active notes, new notes added to the tail. As each note normally deactivates, it removes itself from the linked-list and joins the links around it. When a note is added to the tail, it does a call back down the chain to check if there's any notes beyond the limit and tells them to turn off. With Csound, I'm wondering what ways are there to implement that. I don't use MIDI ever with Csound so am speculating here, but perhaps you could make an instrument that recieves the MIDI info and does the voice stealing logic and will turn on and off notes; the list of active notes could be stored in a local ftable, and when notes are deactivated, the notes in the table can be cleaned of old notes (to act like unlinking a node from the linked list). It's hard to explain exactly; I'll try to see if I can make an orc that does the trick. If this works, then I think the technique could be later expanded to do things that Charles was mentioning. steven On 5/3/06, Tobiah wrote: > I may have done a poor job of expressing my wishes. Charlie Baker > was the closest at interpreting what must have been a slightly > incoherent email. I don't enjoy the polyphony limitation. I > just want csound to intelligently manage my voices when I approach > the limitation of my computer's processing power as applied to > realtime performance, and in particular where the performance is > triggered by MIDI control. > > Thanks, > > Toby > > Dave Phillips wrote: > > Art Hunkins wrote: > > > >> I may be missing something, but I don't really see a problem. Whan a MIDI > >> device "expires" a note, surely it sends a note off message for the > >> expired > >> note as it initiates a new one. So, the receiving software would be > >> completely unaware of the "too many voices" situation. > >> > >> > > If I understand Tobiah correctly, he's made a virtue out of his hardware > > synth's polyphony limitation and wants Csound to behave in a similar > > fashion. I think the term in Ye Olden Tymes was something like "voice > > allocation". I always considered it a PITA but maybe Tobiah has found a > > musically useful purpose for the limitation ? At any rate, I don't > > recall that the hardware synths sent any MIDI message when the > > allocation limit was reached. > > > > Best, > > > > dp > > > > -- > Send bugs reports to this list. > To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk >