PanB:
Filter:
Classes | UGens > Multichannel > Ambisonics

PanB : MultiOutUGen : UGen : AbstractFunction : Object

Ambisonic B-format panner.
Source: Pan.sc

Description

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

Class Methods

PanB.ar(in, azimuth: 0, elevation: 0, gain: 1)

PanB.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);
});