A newer version of Max is available. Click here to access the latest version of the Max documentation

unpack Reference

separate list values into numbers

unpack

Examples

Arguments

list [list]

Optional

Each argument sets an initial value for an item in the list used by the unpack object. If there are no arguments, the object is initialized with a list consisting of two floats, 0. 0.

Inlets

input [bang, list]

A list received in the inlet will store that list in the object and output the elements of that list out the object's various outlets. A bang received in the inlet will output a stored list.

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

length [number]

The number of outlets is determined by the number of arguments. If there are no arguments, the object will be created with two outlets.

list [list]

Each argument sets an initial value for an item in the list used by the unpack object. If there are no arguments, the object is initialized with a list consisting of two floats, 0. 0.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

input [bang, list]

A list received in the inlet will store that list in the object and output the elements of that list out the object's various outlets. A bang received in the inlet will output a stored list.

See Also

Name Description
iter Break a list into individual messages or lists
listfunnel Index and output list elements
join Combine items into a list
pack combine numbers into a list
pak combine numbers into a list
unjoin Break a list into messages