mc.pack~ Reference

Combine single inputs into a multichannel signal

mc.pack~

Description

The mc.pack~ object combines inputs (signals, multichannel signals, floats) into a multi-channel signal. Unlike mc.combine~, mc.pack~ creates an output multichannel signal that contains exactly the number of channels as its number of inlets.

Examples

Arguments

size [int]

The argument to mc.pack~ determines both the count of inlets and channels in its output multichannel signal.

Attributes

chans [int]

If the chans attribute is set to a value smaller than the number of inlets of mc.pack, extra channels will be removed from the multichannel output the next time the audio is restarted. By default, the chans attribute is set to 0, which means the output channel count is always equal to the number of inlets.

Common Box Attributes

Messages

int

An incoming number is converted a constant value within the output multichannel signal.

float

An incoming number is converted a constant value within the output multichannel signal.

list

The first value of the list is converted to a constant value within the output multichannel signal.

mute

Arguments

state [int]
The word mute, followed by a 1 or 0, will mute or unmute the output of mc.pack~. When muted, all output channels are set to zero.

signal

A single-channel signal or the first channel of a multichannel signal is copied to the output multichannel signal at the channel position correponding to its inlet.

See Also

Name Description
MC MC
MC MC
MC Objects for Signal Manipulation MC Objects for Signal Manipulation
join
mc.combine~
mc.separate~
mc.unpack~
pack
pak
unjoin
unpack