Pan4

object Pan4 extends ProductReader[Pan4]

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
trait Product
trait Mirror
trait ProductReader[Pan4]
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def ar(in: GE, xpos: GE, ypos: GE, level: GE): Pan4
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)

def kr(in: GE, xpos: GE, ypos: GE, level: GE): Pan4
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)

def read(in: RefMapIn, key: String, arity: Int): Pan4