I'm working on a Poly~ synth patch and I'm trying to have this elaborate panning system, where each poly voice gets its individual pan acordingly to haw many voices are playing at the time. And I wan't the panning to change if I release one voice, the remaining ones change their pan acordingly.
My idea for panning scheme is.
1 voice: center
2 voices: one voice left .5 and one voice right .5
3 voices: one voice left .666 one voice center one voice right .666
4 voices: one voice left .75 one voice left .25 one voice right .25 one voice right .75
and so on.
What I've managed to do, is monitor how many voices are active and wich ones. What I'm asking help for, is how to route the pan messages to the active voices. Because the active voices aren't neccesarely 1, 2, 3, 4, 5. It is also 2, 5, 8, 11 and how do I route the 4 voices pan message to these different instances?
Thx so far. I wouldn't have gotten this far without this forum.
Here is the Poly~ patch I'm working on: