Max object like [repack ] from zexy

Oct 15, 2008 at 9:23pm

Max object like [repack ] from zexy

Does anyone know if there is an object in max that is like zexy’s [repack] object. I’ve used it in Pd-Extended.

It basically takes a fixed number of separate atoms (coming in series) and binds them into a list.

What I’d like to do is this:

[midiin]
|
[repack 3]
|
[print]

and then I’d press and release Middle C and see two separate printed messages like:
144 60 100
144 60 0

In other words, [repack 3] says: take the next 3 atoms received and pack them into a list.

In [repack], the argument sets the number of incoming messages that are packed together into the list. So, [repack 4] would create 4 member lists, [repack 5], 5 member lists, etc…

Thanks,
Mitch

#40356
Oct 15, 2008 at 9:35pm

zl group will probably do the trick:

– Pasted Max Patch, click to expand. –
#142698
Oct 15, 2008 at 11:21pm

that would probably be [zl group 3]

#142699
Oct 16, 2008 at 2:09am

Thanks so much. Not sure why I did not see this myself. Oh well it works perfectly.
Mitch

#142700

You must be logged in to reply to this topic.