Poly~ send #0-
I’m using a poly~with 12 voices. In order to use the voice number of each instance of the poly~, I connected a s #0-instance box at the output of thispoly~. But, strangely, I don’t get the same index to the different s #0-instance in the same poly… so I can’t send the voice number to use it as an index value. I must specify that I have several subpatches in my poly~, but I don’t understand why it should be a problem… Does anyone have a clue ? I added my patch, it’s a little complicated (I also added some abstractions that are necessary to load the patch). Thanks !!
Actually I found an explaination: it seems that when you add an abstraction in a poly~the #0 index is not the same… I’m not sure, but I transfered the contents of the abstractions in local patches and it worked.
it is not the same because you must consider difference poly voices are "different patches".
go in the help file and open the individual windows of the example poly patcher inside.
what you see there, is how you should think of how poly works internally. :)
one possible solution would be to use #1 inside, and initialize that with a [poly~ mypatch … args #0]
Thank you Roman, that is a perfect solution to my problem!
BUT. It is not working for me. My poly~ object looks like this:
poly~ em.StoragePoly 2 args #0
The #0 is just showing ‘#0" when I reload the patcher. And the internal number for arg #1 is 0. It is not creating a number. Am I doing something wrong?
I’m not aware of any other method to address individual poly~ instances but target messages – doesn’t passing args messages address all instances?
Well, I do want to address all instances–in my poly object! Not instances in other poly objects elsewhere in my patch.
If I put a #0 INSIDE a poly object, it gets a different value for each instance. But I thought a #0 in the args to the poly object would work, and that’s what the previous poster suggested as well.
Forums > MaxMSP