Forums > MaxMSP

Pack/unpack with function~

Jan 13 2013 | 3:21 pm


I’m having a little difficulty with running a function object through pack/unpack then into a curve~/line~ object. Could somoene take a look please?

— Pasted Max Patch, click to expand. —


Jan 13 2013 | 8:35 pm

pack/unpack are not designed to handle list of variable size. Why do you need pack/unpack in the first place?

Jan 13 2013 | 9:07 pm


I was packing function~ objects outside a poly~ to control function~ objects inside a poly to generate an envelope going into a curve~.

Jan 13 2013 | 10:36 pm

I think what ej means here is: why don’t you just pass the list directly?


Jan 14 2013 | 8:08 pm

many function objects need to go into a poly. i was packing them all up

Jan 16 2013 | 2:41 pm

"packing them all up", eh? have a look at zl.join, then. But I’d append function names (like, function1, function2 etc) and then use route inside the poly.

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

Forums > MaxMSP