2 summary:: Four channel equal power pan.
3 related:: Classes/Balance2, Classes/LinPan2, Classes/Pan2, Classes/PanAz
4 categories:: UGens>Multichannel>Panners
9 Four channel equal power panner. Outputs are in order LeftFront,
10 RightFront, LeftBack, RightBack.
24 X pan position from -1 to +1 (left to right).
29 Y pan position from -1 to +1 (back to front).
34 A control rate level input.
41 // You'll only hear the front two channels on a stereo setup.
43 SynthDef("help-Pan4", {
44 Out.ar(0, Pan4.ar(PinkNoise.ar, FSinOsc.kr(2), FSinOsc.kr(1.2), 0.3))
48 play({ Pan4.ar(PinkNoise.ar, -1, 0, 0.3) }); // left pair
49 play({ Pan4.ar(PinkNoise.ar, 1, 0, 0.3) }); // right pair
50 play({ Pan4.ar(PinkNoise.ar, 0, -1, 0.3) }); // back pair
51 play({ Pan4.ar(PinkNoise.ar, 0, 1, 0.3) }); // front pair
53 play({ Pan4.ar(PinkNoise.ar, 0, 0, 0.3) }); // center