Pack/unpack with function~

gershwin's icon

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?

Max Patch
Copy patch and select New From Clipboard in Max.

cheers

Emmanuel Jourdan's icon

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

gershwin's icon

ahh.

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

mattyo's icon

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

M

gershwin's icon

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

Wetterberg's icon

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