A four channel equal-power panorama UGen. The outputs are in order leftFront
, rightFront
, leftBack
, rightBack
.
===Examples===
// mouse controlled pan position
play {
val x = MouseX.kr(-1, 1)
val y = MouseY.kr(-1, 1)
val p = Pan4.ar(PinkNoise.ar, x, y)
// make a stereo mix with different timbre front and back
val f = Resonz.ar(Seq(p.leftFront, p.rightFront), 4000, 0.2) * 4
val r = Resonz.ar(Seq(p.leftBack , p.rightBack ), 1500, 0.2) * 4
f + r
}
- See also
- Companion
- class
Type members
Value members
Concrete methods
- Value Params
- in
(monophonic) input signal to be panned
- level
additional gain control
- xpos
horizontal panorama position from -1 (left) to +1 (right)
- ypos
front-to-back panorama position from -1 (back) to +1 (front)