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

Nov 12, 2008 at 1:49pm

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

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?

#40797
Nov 12, 2008 at 2:13pm

#144694
Nov 12, 2008 at 2:45pm

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!

#144695
Nov 12, 2008 at 2:59pm

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.

#144696

You must be logged in to reply to this topic.