thanks Thomas, I would better look at your code soon...
Thomas Grill wrote: ...
Anyway, I am afraid that low priority scheme does not cover voice allocation, due to unbounded latency.
That's true... the only way to account for that without crackling is to have enough spare voices in the backhand.
let's assume first it is too sad to be true... switching instruments in a massively multi-timbral setup should be instantaneous too. Thus, currently, the number of voices a synth patch has to pre-allocate is number of instruments times number of voices per instrument. In many typical applications, this is far too many. It would be much easier, if a once computed dsp chain of an instrument definition could be reused as a voice-creating template.
Krzysztof