Pan4:
Filter:
Classes | UGens > Multichannel > Panners

Pan4 : MultiOutUGen : UGen : AbstractFunction : Object

Four channel equal power pan.
Source: Pan.sc

Description

Four channel equal power panner. Outputs are in order LeftFront, RightFront, LeftBack, RightBack.

Class Methods

Pan4.ar(in, xpos: 0, ypos: 0, level: 1)

Pan4.kr(in, xpos: 0, ypos: 0, level: 1)

Arguments:

in

The input signal.

xpos

X pan position from -1 to +1 (left to right).

ypos

Y pan position from -1 to +1 (back to front).

level

A control rate level input.

Inherited class methods

Instance Methods

Inherited instance methods

Examples

// You'll only hear the front two channels on a stereo setup.

{ Pan4.ar(PinkNoise.ar, FSinOsc.kr(2), FSinOsc.kr(1.2), 0.3)) }.play;


{ Pan4.ar(PinkNoise.ar, -1,  0, 0.3) }.play; // left pair
{ Pan4.ar(PinkNoise.ar,  1,  0, 0.3) }.play; // right pair
{ Pan4.ar(PinkNoise.ar,  0, -1, 0.3) }.play; // back pair
{ Pan4.ar(PinkNoise.ar,  0,  1, 0.3) }.play; // front pair

{ Pan4.ar(PinkNoise.ar,  0,  0, 0.3) }.play; // center