SuperCollider CLASSES

PanB

Ambisonic B-format panner.

Description

Ambisonic B format panner. Output channels are in order W, X, Y, Z.

Class Methods

*ar (in, azimuth: 0, elevation: 0, gain: 1)

*kr (in, azimuth: 0, elevation: 0, gain: 1)

Arguments:

in

The input signal.

azimuth

Azimuth in radians, -π to +π.

elevation

Elevation in radians, -0.5π to +0.5π.

gain

A control rate level input.

Inherited class methods

Instance Methods

Inherited instance methods

Examples

// You'll only hear the first two channels on a stereo setup.
play({
    #w, x, y, z = PanB.ar(WhiteNoise.ar, LFSaw.kr(0.5,pi), FSinOsc.kr(0.31, 0.5pi), 0.3);
    //decode for 4 channels
    DecodeB2.ar(4, w, x, y, 0.5);
});