Is declaring an unnecessary number of Poly~ voices bad?

to_the_sun's icon

Quick question: I recently made a polyphonic sampler and gave my [poly~] an arbitrarily high number of voices (e.g. [poly~ polysfplay~ 100]). It works great, i'm just wondering if there's any downside to giving it so many voices, like eating up a little extra processing power. I'm using mute to stop audio processing of nonactive voices, as suggested in MSP Tutorial 21.

Roman Thilenius's icon

the voices which are turned off dont not comsume extra CPU.

i see only two disadvantages:

- fragmentation of RAM
- load time of the patch

but decide yourself, how much it matters in a situation.

to change the numbers of voices later, after the initialisation, can also cause trouble. so it is not the worst idea to set a high maximum from the beginning.

-110