mc.combine~ Reference

Combine inputs into a multichannel signal

mc.combine~

Description

The mc.combine~ object combines inputs (signals, multichannel signals, floats) into one multichannel signal. Unlike mc.pack~, every channel of an input multichannel signal will be included in the output.

Examples

Arguments

number-of-inlets [int]

Optional

The first argument specifies the number of inlets. If no argument is present, the object will be created with two inlets.

Attributes

chans [int]

The chans attribute sets a fixed number of output channels. By default chans is 0, meaning the number of outputs is determined by the total channel count of signals connected to the inlets of mc.combine~.

Common Box Attributes

Messages

int

An int message will set a constant value for a single channel in the output multichannel signal.

float

A float message will set a constant value for a single channel in the output multichannel signal.

list

A list message will set constant values for multiple channels. For instance, a list of three items will set constant values for three consecutive output channels starting at the output channel corresponding to the inlet receiving the list.

mute

Arguments

on/off-flag [int]
The message mute 1 mutes all output channels, mute 0 unmutes all output channels.

signal

You can send either a single-channel or a multi-channel signal to mc.combine~.

See Also

Name Description
MC MC
mc.pack~
mc.unpack~
mc.separate~