cmake: supernova - missing include_directories() for Jack
[supercollider.git] / Help / UGens / Multichannel / Panners / PanAz.html
blob41a9273e11a26a5e1896b77a2c12633524be5d62
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <meta http-equiv="Content-Style-Type" content="text/css">
6 <title></title>
7 <meta name="Generator" content="Cocoa HTML Writer">
8 <meta name="CocoaVersion" content="824.44">
9 <style type="text/css">
10 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px Helvetica}
11 p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; min-height: 12.0px}
12 p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}
13 p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px}
14 p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #902a19}
15 p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco}
16 p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #091fb1}
17 span.s1 {color: #091fb1}
18 span.s2 {color: #000000}
19 span.s3 {color: #902a19}
20 span.s4 {color: #456c20}
21 span.Apple-tab-span {white-space:pre}
22 </style>
23 </head>
24 <body>
25 <p class="p1"><b>PanAz<span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>azimuth panner</b></p>
26 <p class="p2"><br></p>
27 <p class="p3"><b>PanAz.ar(numChans, in, pos, level, width, orientation)</b></p>
28 <p class="p2"><br></p>
29 <p class="p3">Multichannel equal power panner.</p>
30 <p class="p4"><br></p>
31 <p class="p3"><b>numChans</b> - number of output channels</p>
32 <p class="p3"><b>in</b> - input signal</p>
33 <p class="p3"><b>pos</b> - pan position. Channels are evenly spaced over a cyclic period of 2.0 with 0.0 equal to the position directly in front, 2.0/numChans a clockwise shift 1/numChans of the way around the ring, 4.0/numChans equal to a shift of 2/numChans, etc. Thus all channels will be cyclically panned through if a sawtooth wave from -1 to +1 is used to modulate the pos. <b>N.B.</b> Front may or may not correspond to a speaker depending on the setting of the <b>orientation</b> arg, see below.</p>
34 <p class="p3"><b>level</b> - a control rate level input.</p>
35 <p class="p3"><b>width</b> - The width of the panning envelope. Nominally this is 2.0 which pans between pairs</p>
36 <p class="p3">of adjacent speakers. Width values greater than two will spread the pan over greater numbers</p>
37 <p class="p3">of speakers. Width values less than one will leave silent gaps between speakers.</p>
38 <p class="p3"><b>orientation</b> - Should be zero if the front is a vertex of the polygon. The first speaker will be directly in front. Should be 0.5 if the front bisects a side of the polygon. Then the first speaker will be the one left of center. Default is 0.5.</p>
39 <p class="p2"><br></p>
40 <p class="p2"><br></p>
41 <p class="p5">// five channel circular panning</p>
42 <p class="p6"><span class="s1">Server</span>.internal.boot;</p>
43 <p class="p6">(</p>
44 <p class="p6">{</p>
45 <p class="p6"><span class="Apple-tab-span"> </span><span class="s1">PanAz</span>.ar(</p>
46 <p class="p5"><span class="s2"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>5, <span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span>// numChans</p>
47 <p class="p7"><span class="s2"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span>ClipNoise<span class="s2">.ar, <span class="Apple-tab-span"> </span></span><span class="s3">// in</span></p>
48 <p class="p6"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><span class="s1">LFSaw</span>.kr(<span class="s1">MouseX</span>.kr(0.2, 8, <span class="s4">'exponential'</span>)), <span class="s3">// pos</span></p>
49 <p class="p6"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>0.5,<span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><span class="s3">// level</span></p>
50 <p class="p5"><span class="s2"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>3<span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span>// width</p>
51 <p class="p6"><span class="Apple-tab-span"> </span>);</p>
52 <p class="p6">}.play(<span class="s1">Server</span>.internal);</p>
53 <p class="p6"><span class="s1">Server</span>.internal.scope;</p>
54 <p class="p6">)</p>
55 <p class="p2"><br></p>
56 </body>
57 </html>