zl.change Reference

Filter out list repetitions

zl.change

Arguments

initial-list [list]

Optional

Sets the initial list to compare input with.

Attributes

fuzzy [atom] (default: 0.)

Fuzzy floating-point comparison epsilon

zlmaxsize [atom_long]

Maximum List Length

Common Box Attributes

Messages

bang

TEXT_HERE

int

TEXT_HERE

float

TEXT_HERE

list

In left inlet: Compares with previous input and triggers output.
In right inlet: Sets list to compare and does not trigger output.

anything

TEXT_HERE

mode

The word 'mode' followed by one of the following words will set the mode of the object:
change, compare, delace, ecils, group, indexmap, iter, join, lace, len, lookup, median, mth, nth, queue, reg, rev, rot, scramble, sect, slice, sort, stack, stream, sub, sum, swap, thin, union, or unique.

See the reference for the corresponding mode for more information.

zlclear

Clears the currently held list.

Output

int

Out right outlet:
If the input list is different from the last one received, a 1 is output. If the list is not different, a 0 is output.

list

Out left outlet:
If the input list is different, the new list is output. If the list is not different, nothing is output.

See Also

Name Description
zl
zl.compare
zl.delace
zl.ecils
zl.filter
zl.group
zl.indexmap
zl.iter
zl.join
zl.lace
zl.len
zl.lookup
zl.median
zl.mth
zl.nth
zl.queue
zl.reg
zl.rev
zl.rot
zl.scramble
zl.sect
zl.slice
zl.sort
zl.stack
zl.stream
zl.sub
zl.sum
zl.swap
zl.thin
zl.union
zl.unique