/usr/share/SuperCollider/HelpSource/Classes/Pan4.schelp is in supercollider-common 1:3.8.0~repack-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | class:: Pan4
summary:: Four channel equal power pan.
related:: Classes/Balance2, Classes/LinPan2, Classes/Pan2, Classes/PanAz
categories:: UGens>Multichannel>Panners
Description::
Four channel equal power panner. Outputs are in order LeftFront,
RightFront, LeftBack, RightBack.
classmethods::
method::ar, kr
argument::in
The input signal.
argument::xpos
X pan position from -1 to +1 (left to right).
argument::ypos
Y pan position from -1 to +1 (back to front).
argument::level
A control rate level input.
Examples::
code::
// You'll only hear the front two channels on a stereo setup.
(
SynthDef("help-Pan4", {
Out.ar(0, Pan4.ar(PinkNoise.ar, FSinOsc.kr(2), FSinOsc.kr(1.2), 0.3))
}).play;
)
play({ Pan4.ar(PinkNoise.ar, -1, 0, 0.3) }); // left pair
play({ Pan4.ar(PinkNoise.ar, 1, 0, 0.3) }); // right pair
play({ Pan4.ar(PinkNoise.ar, 0, -1, 0.3) }); // back pair
play({ Pan4.ar(PinkNoise.ar, 0, 1, 0.3) }); // front pair
play({ Pan4.ar(PinkNoise.ar, 0, 0, 0.3) }); // center
::
|