Poly, how to change number of voices ?
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.
It takes a voices message, doesn’t it?
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?
ok it seams there is no way to change the voices.
Anyway I have found a another solution with borax.
‘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.
"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.
Save this as polytest
----------begin_max5_patcher---------- 271.3ocqRFjaBCCDEcsQh6fkWmhhc.0R2w4.ghbBtEiRriRlzFJp8rW6w3TV P2.Yi+R+4OZF+zbd9LBqvNn5XzWoaoDxYmCA87NjnAgUKGJqjcXPlQ8os3HK 4RMPM.nObP20XqN8yXo2rFnS+kxWlKVjF8ajP4As487VUIDFtX4RWcJeEJqd w+JRWjR2EaxzWqMUJ.WB90ivHqwQv1zpkUrqZv1CwNDQa8dLq6K7T1X1PP3T iJrNLsAXIAgtCC887Yd0IIOLpbiixuGLwWmgjgiXJ64IGSo2.ShwrcxOT6yc dtEJWBPqtnGB2Oj.CBAuvpIkYZyCgr0BjXoSNw32fX7++vh82fueZ5OIcxu. 9nm0cB -----------end_max5_patcher-----------
----------begin_max5_patcher---------- 523.3ocuVtsiaCBDF9ZuR66.hqSi.rI1o20mipUU9.MKU1fkgzlzUsO6kC1a b5lrINg0xRfXlA32edFvu73CQvB4NlBB9L3qfnnWLVhb1rVhFLDAax2UVmqb ABaXJU9FFbQuSMam14.A5ed002kBsh+al0MlrDMXuMWW9LWr4acrRse2IoqL 9AwnLa2ZWK1zBdZXRhsMbQMS6TAY7VHxabaA7Kc77Z3nIH2pGlAdvLuxEqr3 GeJ80X8Ap22x7xABAO4b8mGev1a5Vb0DRv9kY0eKfZ63B8sAGpkGjrDGibsD zYgCdxvAcB3PgAG.ZPAn9V.PbRp+cl3..YIMv.fbB.jb9rihbwF3h6KK4r0Q +TxKYJ.9PcTaGSwD5bMWJFQkDjOSfr11g5aNvji.LdIcMEmk9NTte8vot0it dVpAi+XpAuDcovakR84hCTJdVnDdtOpRVu+u.aqlotqyr7oQYg+LqShoYNYp XqZeSdK.eODxW9tZdJ2HSgPdk.q4h27SBt2Gqi+iaJ41txgUr+SBXzqTkIch KbmjMJHS1M.eHnm4UULwQWL0vqZklqO60g8pP6c.YX2EBqNL589LGVQSONnK K5fHsjqQZjoJsX5JGAI9td5ZGELQiujnwSVzoH+QLjwh1NJHhN9ZHcxTEcBN 1+2KNsOvcDJTYtoeHpNHZibMRCe2RyZvz8O.PizyBC -----------end_max5_patcher-----------
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.
yay borax seems way better…
it seems easier to write your own poly object in that case.
the question was about the poly objekt not (poly~)
anyway the problem is solved.
Oops! Blame it on the saturday-hangover and the snow. It’s making me blind.
always use [borax], never waste your time on [poly]. it´s really bad.
I was reading poly~ too. Sorry.
Thanks FRid, I just need that!
Forums > MaxMSP