Distribute:
Filter:
Classes (extension) | UGens > Multichannel > Panners

Distribute
ExtensionExtension

Distribute an array of signals across output channels
Location: NOT INSTALLED!

Description

Utility class method intended for uncomplicated conversion of channel count, distributing its input to a requested number of output channels. If you need more fine-grained control over the distribution, use the underlying Splay or SplayAz.

With one output channel, the input signals are summed. With two output channels, it behaves like Splay, spreading the signals across the stereo field. With more than two output channels, it behaves like SplayAz, spreading them around a ring of channels. The stereo and multichannel paths use the level compensation defaults of Splay and SplayAz.

Class Methods

.ar

Distribute the input signals at audio rate.

Arguments:

snd

A signal or array of signals to distribute.

numChans

The number of output channels. Defaults to 1.

Returns:

A signal or array of signals with numChans channels.

Inherited class methods

Instance Methods

Inherited instance methods

Examples

Distribute three signals to stereo:

Sum an array of signals to mono: