Forums > MaxMSP

Store and unpack coll

December 16, 2010 | 2:38 am

Hi all,
I am sending 16 lists to a coll object.
Coll saves those correctly.
How can I store them and unpack them correctly, see attached patch?
I have entered the questions i have directly in the patch.

December 16, 2010 | 8:34 am

Hi Pizza,

thanks for your reply and suggestions:
Appending might not be an option, because the values of the instances need to be changed on the fly, that is done well in coll.

I adopted my questions in the attached updated file in order to be more specific.

I could use the following external (store coll in pattr), but hesitate because its not max standard:

I feel there should be a simpler way without coll, too. Because mainly its just storing 4 figures assigned to an id, and restoring them. On top this should have presets.


December 16, 2010 | 10:26 am

I don’t understand what you expect the [zl mth] to do. It will pick out an individual element from a list.

The dump message to coll dumps n lists, one for each entry in the coll.

December 16, 2010 | 8:56 pm

I think that the goal is still sort of ill-defined. Are the various instances going to be in abstractions or bpatchers? If so, pattr would work well without the coll part. Just expose the four numbers that you want to save to autopattr, and then make sure that the abstraction is exposed to autopattr at the top level.

That said, here’s an edit of the original with coll that deals with what I think you want to do with the pack/unpack.

— Pasted Max Patch, click to expand. —
December 27, 2010 | 3:58 am

Chris, Pizza,
Thanks so much for your help so far.
Your ideas brought me to the final implementation:
I now use several Pack/Unpack/Forward/Pattr plus some Funnel/Spray/Pattr objects.
I also moved to Max4Live for the project, so that’s why it is all a little different. I might come back to you for some final questions, but until then, thank you very much.

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

Forums > MaxMSP