Can you always pass a list to the first inlet

Dec 7, 2013 at 7:06pm

Can you always pass a list to the first inlet

I know on some objects (such as note out) you can pass a three item list to the first inlet as opposed to passing three separate messages to each of the three inlets.

Can you do this for every object with multiple inlets? (I.e. will Max automatically realize that the first item in the list is for inlet 1, the second is for inlet 2 etc.)?

Thanks

#275068
Dec 8, 2013 at 8:20am

Mostly. Certainly for simple standard objects.

Max generally handles the convention automatically, but I recall from some object or other that I wrote that there were circumstances in which the object had to take over and do the work itself. I don’t recall the exact details right now.

Basically, expect the list mapping to work, but don’t get too upset if it doesn’t. There’s always unpack.

#275121
Dec 8, 2013 at 11:50am

it works for most objects which do not need or expect a list on the first inlet.

if it is good manner or good readable when you send “4 5″ to [+ ] is another question.

but pretty useful is it with pack/list/pak, where ALL inlets work like that.

-110

#275129
Dec 9, 2013 at 12:34am

Thank you both.

#275177

You must be logged in to reply to this topic.