Forums > MaxMSP

Pack/unpack with function~

January 13, 2013 | 3:21 pm

Hi,

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. –

cheers


January 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?


January 13, 2013 | 9:07 pm

ahh.

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


January 13, 2013 | 10:36 pm

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

M


January 14, 2013 | 8:08 pm

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


January 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)