Sending lists of variable sizes through target (poly~)?

oivindi's icon

What is the easiest way to send lists of variable sizes to all instances of a poly~, using the "target 0" message?

If the list has 8 or 10 values it seems silly to use "taget 0, $1 $2 $3" etc.

Or?

nick rothwell | project cassiel's icon
oivindi's icon

Of course!

More proof that I need to learn to simplify my thinking (and learn one or two or ten more things about MaxMSP).

Thanks!

swieser1's icon

Also, you don't necessarily have to send a message to the poly object in the form of:

target 0, $1 $2 $3 $4

The comma separates the two parts of the message into two separate messages. So, a message box with the above message in it is equivalent to sending two separate messages:

target 0
44 24 7.234 foo

So, what I'm getting at is that you can just send your target 0 message, and then just send your list through in a separate message. No need for sending the list through a message box with the $1 $2 $3 stuff.