# mc.op~

## Description

The mc.op~ object, similar to jit.planeop, performs one of several arithmetic operations combining each sample of a multichannel input to produce a single-channel output.

## Examples

## Arguments

None.

## Attributes

### op [symbol] (default: avg)

The mc.op~ object can apply one of several operators to all channels of a connected multichannel signal. Each operator calculates the nth output sample on the basis of an operation on the nth sample of each input channel.

Possible values:

'avg'
( Average )

Each sample of the output is the average of corresponding samples in each input channel.

'sum'
( Sum )

Each sample of the output is the sum of corresponding samples in each input channel.

'product'
( Product )

Each sample of the output is produced by multiplying all corresponding samples in each input channel.

'min'
( Minimum )

Each sample of the output is produced by finding the minimum value of corresponding samples in each input channel.

'max'
( Maximum )

Each sample of the output is produced by finding the maximum value of corresponding samples in each input channel.

### Common Box Attributes

## Messages

### signal

## See Also

Name | Description |
---|---|

MC | MC |

mc.mixdown~ | |

mc.dup~ |