mc.resize~ Reference

Resize a multichannel signal

mc.resize~

Description

The mc.resize~ object changes the number of channels in a connected single- or multichannel signal, producing an output multichannel signal with a number of channels specified by its argument.

Arguments

channels [int]

The argument sets the number of channels in the output multichannel signal.

Attributes

replicate [int]

When replicate is 0, any channels in the output signal not in the input signal will be set to zero. When replicate is 1, input channels will repeat, cyclically if necessary, in the output.

select [atom]

The select attribute contains a list of channels in the input to be assigned to successive channels of the output starting at the first output channel. For example, an mc.resize~ object of size 3 with its select attribute set to 5 7 9 will copy channel 5 of an input multichannel signal to output channel 1, channel 7 to output channel 2, and channel 9 to output channel 3. When select is 0, it has no effect and input channels are copied to the output in order.

Common Box Attributes

Messages

signal

Single- or multichannel signal to be resized.

See Also

Name Description
MC MC
mc.dup~
mc.combine~
mc.separate~