[linux-audio-dev] Project: modular synth editor

Jens M Andreasen jens.andreasen at chello.se
Tue Jan 20 03:11:25 UTC 2004


Hi!

Regarding recycling of voices ..

I use four ques:

1) Voices that are off and has silenced. These voices are always safe to
assign. If this que is empty then I'll look for ...

2) Voices that are off but still running. Pick the oldest one if any,
else try ...

3) Voices that are held. They are off but still running in their "on
state" because the hold-pedal is down. If this que is also empty, then
the only thing left to do is ...

4) Pick the oldest voice in the running que, assuming that the music
breaks completely if the rythm gets lost.


cheers // Jens M Andreasen



On mån, 2004-01-19 at 10:29, Steve Harris wrote:
> On Sun, Jan 18, 2004 at 06:50:19PM -0500, Dave Robillard wrote:
> > Well, regardless of what the voice does after note release, the voice
> > you want to 'take over' is /probably/ the one with the oldest note-off.
> 
> Yes, the problem is when there are no note offs yet. In hardware,
> generally you discard the voice with the lowest or highest pitch (picked
> at design time).
> 
> - Steve 




More information about the Linux-audio-dev mailing list