Forums > MaxMSP

poly~ and coll issue

Apr 17 2012 | 4:44 pm

Hi, so I’m recording x and y values from the lcd object into a pair of colls via poly~ and a second pair (named the same as the other colls) then spit out the data controlling various things.

The trouble I’m having is that even though a new target for the poly~ is selected each time I draw a new line in the lcd, the data is always the same in all the colls on every poly~ target.

Is this because I have named the coll and is there a way round this? Help very much appreciated.

Apr 17 2012 | 5:42 pm

you seem to not really get how named coll work – anyway yes, you need a different named coll each time, so either use the #0 argument to format the name of each coll in each instance, or use [thispatcher] to have a different instance number each time. Or don’t name your coll at all.

Apr 17 2012 | 7:42 pm

Thanks, I actually figured out shortly after posting this :p

Thanks again.

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

Forums > MaxMSP