Classes | UGens > Multichannel > Panners

PanAz : MultiOutUGen : UGen : AbstractFunction : Object

Azimuth panner
Source: Pan.sc

Description

Multichannel equal power panner.

Class Methods

PanAz.ar(numChans, in, pos: 0.0, level: 1.0, width: 2.0, orientation: 0.5)

PanAz.kr(numChans, in, pos: 0.0, level: 1.0, width: 2.0, orientation: 0.5)

Arguments:

numChans

Number of output channels.

in

The input signal.

pos

pan position (kr or ar). Channels are evenly spaced over a cyclic period of 2.0 in pos with 0.0 equal to channel zero and 2.0/numChans equal to channel 1, 4.0/numChans equal to channel 2, etc.

Thus all channels will be cyclically panned through if a bipolar sawtooth wave from -1 to +1 is used to modulate the pos.

level

A control rate level input.

width

The width of the panning envelope. Nominally this is 2.0 which pans between pairs of adjacent speakers. Values greater than 2 will spread the pan over greater numbers of speakers. Values less than 1 will leave silent gaps between speakers.

orientation

Should be 0 if the front is a vertex of the spanning polygon. The first speaker will be directly in front. Should be 0.5 if the front bisects a side of the spanning polygon. Then the first speaker will be the one left of center.

Inherited class methods

1 methods from MultiOutUGen ► show
7 methods from UGen ► show
7 methods from Object ► show

Instance Methods

Inherited instance methods

5 methods from MultiOutUGen ► show
92 methods from UGen ► show
159 methods from AbstractFunction ► show
260 methods from Object ► show

Examples

Five channel circular panning with first channel on the left

Comparison to Pan2

Despite a certain similarity, Pan2 and PanAz with 2 channels behave differently.

The same in one plot window:

In other words, while Pan2 needs a position change of 2 from channel 0 to 1

In one plot window: