Forums > MaxMSP

How To Group A List of Undefined Size?

September 25, 2009 | 10:10 pm

Pretty straightforward, want to be able to group any number of messages, then output the list after a bang. or better yet, dump all the contents out of a coll as a list. thanks for any help.


September 25, 2009 | 10:44 pm

You can use [zl group] for this. Send all the data to the first inlet and when you want to format it into a list send a bang. You might need to instatiate it with a high number if the lists you’re creating will be massive though, for example: [zl 3000 group]

lh


September 26, 2009 | 5:55 am

[thresh]?


September 26, 2009 | 11:01 am

How about…

– Pasted Max Patch, click to expand. –

?


September 26, 2009 | 2:47 pm

thresh works well, thanks.


September 26, 2009 | 2:58 pm

Beware! Thresh can change up your timing (i.e. order of execution), if that’s a concern.

Georg


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