Forums > MaxMSP

Poly, how to change number of voices ?

February 11, 2012 | 10:29 am

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.


February 11, 2012 | 10:43 am

It takes a voices message, doesn’t it?


February 11, 2012 | 12:29 pm

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?


February 11, 2012 | 12:44 pm

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


February 11, 2012 | 12:49 pm

‘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.


February 11, 2012 | 12:55 pm

"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

Save this as polytest

– Pasted Max Patch, click to expand. –

And main

– Pasted Max Patch, click to expand. –

February 11, 2012 | 12:56 pm

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.


February 11, 2012 | 12:59 pm

yay borax seems way better…


February 11, 2012 | 2:06 pm

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


February 11, 2012 | 2:21 pm

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


February 11, 2012 | 2:50 pm

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


February 11, 2012 | 3:03 pm

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


February 11, 2012 | 7:48 pm

I was reading poly~ too. Sorry.


April 28, 2013 | 7:28 pm

Thanks FRid, I just need that!
Coralie


Viewing 14 posts - 1 through 14 (of 14 total)