linux: shared memory interface - link with librt
[supercollider.git] / HelpSource / Classes / PanB.schelp
blob1889f21c76034e3068dd93632fdda929f98f1af6
1 class:: PanB
2 summary:: Ambisonic B-format panner.
3 related:: Classes/BiPanB2, Classes/DecodeB2, Classes/PanB2, Classes/Rotate2
4 categories::  UGens>Multichannel>Ambisonics
7 Description::
9 Ambisonic B format panner. Output channels are in order W, X, Y, Z.
12 classmethods::
14 method::ar, kr
16 argument::in
18 The input signal.
21 argument::azimuth
23 Azimuth in radians, -π to +π.
26 argument::elevation
28 Elevation in radians, -0.5π to +0.5π.
31 argument::gain
33 A control rate level input.
36 Examples::
38 code::
40 // You'll only hear the first two channels on a stereo setup.
41 play({
42         #w, x, y, z = PanB.ar(WhiteNoise.ar, LFSaw.kr(0.5,pi), FSinOsc.kr(0.31, 0.5pi), 0.3);
43         //decode for 4 channels
44         DecodeB2.ar(4, w, x, y, 0.5);
45 });