equivalent of (change) for lists?

gpvillamil's icon

I have a subpatch that spits out number pairs, and I only want something to happen when there is a change, ie. the equivalent of a change object that looks at the whole list.

How can I do this? Convert the list to a symbol using (tosymbol), then to a (change), then (fromsymbol)?

Or unpack the list, send each element through a (change), and then back to a (pak)?

Dg's icon

Look at [Lchange] from Lobjects.

Ben Bracken's icon

also zl change.

-Ben

Eldar Sadykov's icon

[zl.change] filters repetitions inside the list, not between consecutive lists

mizu's icon

zl.change seems to work between lists

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