Forums > MaxMSP

storing a list

September 7, 2011 | 8:28 am

Hi,

Is there an object that stores a list? I need to compare the new incoming list with the previously incoming list … what is the best way to do this?

Thanks for your help,

K


September 7, 2011 | 8:36 am

[zl reg] stores.

but if you only compare than why not taking [zl compare]? it stores one list in the right inlet, and compares it to any list received in the left.


September 7, 2011 | 8:36 am

[zl reg]

Right inlet = store list
Left inlet = bang it out

Took me a while to find this one, too :)


September 7, 2011 | 8:37 am

Damn, 9 seconds too late!


September 7, 2011 | 8:37 am

Have a look to the zl object. It might appear intimidating at first, but does a lot of nice things with lists. [zl reg] and [zl compare] should do what you need.
best
aa


September 7, 2011 | 8:38 am

:D


September 7, 2011 | 8:39 am

@chris

and i was typing only one handed!


September 7, 2011 | 8:50 am

You must’ve been doing something else with your other hand ;)


September 7, 2011 | 9:00 am

For more advanced list processing, I’d also recommend to have a look at the L-Objects:

http://www.maxobjects.com/?v=libraries&id_library=29

I guess it hasn’t been updated for a while, but they still do work ;-)


September 7, 2011 | 9:11 am

Thanks for all the advice – here’s how it also can be done:

– Pasted Max Patch, click to expand. –

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