Poly, how to change number of voices ?

double_UG's icon

HI, is there a way to change the number of voices form the poly object with a message or fader ? Connecting a atrrui shows no parameter and the reference shows me no messages to do so.

Chris Muir's icon

It takes a voices message, doesn't it?

broc's icon

No, it doesn't understand a voices message. But I think changing the number of voices dynamically would be problematic anyway. What should happen with currently allocated voices if the number of voices is reduced?

double_UG's icon

ok it seams there is no way to change the voices.
Anyway I have found a another solution with borax.
thx

brendan mccloskey's icon

'voices' is an attribute which can be varied dynamically by dragging it from the Inspector - i doubt that anyone would try to change this attribute while voices are playing tho.

FRid's icon

"No, it doesn't understand a voices message."

Yes, it does. It is not mentioned in the reference but the helpfile does show an example.

FRid

Max Patch
Copy patch and select New From Clipboard in Max.

Save this as polytest

Max Patch
Copy patch and select New From Clipboard in Max.

And main

vichug's icon

poly~ does indeed understand a "voices [int]" message, seems not for poly... can't see why you'ld do that, but if you really need it and like bulldozer programming, you can try things like sending a message like "script delete thepoly, script newobject poly $1 @varname thepoly, script connect thepoly [connect antyhing you need here]" to thispatcher. It will create a new poly each time, hence loosing tracks of pending noteons/offs, hence surely loosing all the aim of the poly object.

vichug's icon

yay borax seems way better...

Roman Thilenius's icon

it seems easier to write your own poly object in that case.

double_UG's icon

the question was about the poly objekt not (poly~)
anyway the problem is solved.
thx

FRid's icon

Oops! Blame it on the saturday-hangover and the snow. It's making me blind.

xidance's icon

always use [borax], never waste your time on [poly]. it´s really bad.

Chris Muir's icon

I was reading poly~ too. Sorry.

coralie's icon

Thanks FRid, I just need that!
Coralie