zl.group Reference

Store and output a list

zl.group

Description

Output a list after the number of items specified by the maximum output length are recieved.

Arguments

initial-size [int]

Optional

Specifies a number of the most recently stored list items to be output.

Attributes

fuzzy [atom] (default: 0.)

Fuzzy floating-point comparison epsilon

zlmaxsize [atom_long]

Sets the maximum list length for all modes of operation. This is the equivalent to using an argument to the object, but allows the list length to be changed dynamically. The default list length is 256, and the maximum list length limit is 32,767.

Common Box Attributes

Messages

bang

In left inlet: Immediately outputs current list.

int

In left inlet: Adds to grouped list
In right inlet: Sets group size

float

See int message.

list

Add elements to group

anything

Arguments

input [list]
Allows for the recognition of lists that begin with symbols.

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

list

Out left outlet:
The grouped list is output when the max size is met or a bang is input to the left inlet.

See Also

Name Description
zl
zl.change
zl.compare
zl.delace
zl.ecils
zl.filter
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