How to limit voice count per key?
-
what does the
Settings.setVoiceMultiplier
function do, and how do I limit the number of voices for each note?
I suppose we need to create one array in which there will be 128 elements, each element will contain an array of the specified number of votes, and when filling the array, we remove the zero element of this array and push a new one to the end. I think I've made it a lot more complicated, can someone give me advice on how to make it easier? -
@It_Used said in How to limit voice count per key?:
how do I limit the number of voices for each note
Set it in the Sampler Settings.
-
@d-healey this is good, but it's set voice count for all keyboard range, not for each key unique...
I has been learn sampler on first launches. -
@It_Used You want to apply different limits to different keys?
-
@d-healey yeah
-
@It_Used Why?
-
@d-healey i want give more control of voice management for users.I find voice control for each sampler an insufficient solution, I myself have such situations when I play for a long time with the pedal pressed, it would be easier to remove duplicates after a certain number of voices for one note, so as not to lose the polyphony. if it were possible to set the number of acceptable duplicates, it would be an ideal solution, and according to the standard, you can't create more than one voice there.
-
@It_Used said in How to limit voice count per key?:
would be easier to remove duplicates after a certain number of voices for one note, so as not to lose the polyphony.
What about the Retrigger settings?
-
@d-healey said in How to limit voice count per key?:
@It_Used said in How to limit voice count per key?:
would be easier to remove duplicates after a certain number of voices for one note, so as not to lose the polyphony.
What about the Retrigger settings?
@It_Used said in How to limit voice count per key?:
if it were possible to set the number of acceptable duplicates, it would be an ideal solution, and according to the standard, you can't create more than one voice there.
-
@It_Used In that case I think you'll need to script it, but per note voice management really seems like overkill.
Use a MIDI list instead of an array.
-
@d-healey said in How to limit voice count per key?:
but per note voice management really seems like overkill.
This is good solution for pianos, i make a piano.
-
@d-healey said in How to limit voice count per key?:
Use a MIDI list instead of an array.
This is unlearned area for me. Which only gives me more interest and perseverance.