cmake: supernova - missing include_directories() for Jack
[supercollider.git] / Help / UGens / Multichannel / Panners / Balance2.html
blob3c79970c944f0f695a73e2da914d3dd87d64eb63
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <meta http-equiv="Content-Style-Type" content="text/css">
8 <title>SuperCollider Help - Balance2</title>
11 <meta name="Generator" content="Cocoa HTML Writer">
13 <meta name="CocoaVersion" content="824.41">
15 <style type="text/css">
16 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px Helvetica}
17 p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; min-height: 12.0px}
18 p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}
19 p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px}
20 p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #000000; min-height: 12.0px}
21 p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #000000}
22 span.s1 {color: #0000bf}
23 span.Apple-tab-span {white-space:pre}
24 </style>
25 </head>
28 <body>
30 <p class="p1"><b>Balance2<span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>stereo signal balancer</b></p>
32 <p class="p2"><br>
34 </p>
36 <p class="p3"><b>Balance2.ar(left, right, pos, level)</b></p>
38 <p class="p2"><br>
40 </p>
42 <p class="p3">Equal power panning balances two channels;
43 by panning, you are favouring one or other channel in the mix, and the
44 other loses power. The middle pan position (pos=0.0) corresponds to the
45 original stereo mix; full left (pos of -1) is essentially just left
46 channel playing, full right (pos of 1) just the right. The output of
47 Balance2 remains a stereo signal. <span class="Apple-converted-space">&nbsp;</span></p>
49 <p class="p4"><br>
51 </p>
53 <p class="p3"><b>left</b> - channel 1 of input
54 stereo signal</p>
56 <p class="p3"><b>right</b> - channel 2 of
57 input stereo signal</p>
59 <p class="p3"><b>pos</b> - pan position, -1 is
60 left, +1 is right</p>
62 <p class="p3"><b>level</b> - a control rate
63 level input.</p>
65 <p class="p2"><br>
67 </p>
69 <p class="p5"><br>
71 </p>
73 <p class="p5"><br>
75 </p>
77 <p class="p6">{<span class="s1">Balance2</span>.ar(<span class="s1">LFSaw</span>.ar(44),<span class="s1">Pulse</span>.ar(33),<span class="s1">FSinOsc</span>.kr(0.5), 0.1) }.play;</p>
79 <p class="p5"><br>
81 </p>
83 <p class="p5"><br>
85 </p>
87 <p class="p6">{<span class="s1">var</span>
88 source; source= <span class="s1">SinOsc</span>.ar([440,550]);
89 <span class="s1">Balance2</span>.ar(source[0],source[1],<span class="s1">LFNoise0</span>.kr(4),0.3) }.play;</p>
91 <p class="p5"><br>
93 </p>
95 <p class="p5"><br>
97 </p>
99 <p class="p5"><br>
101 </p>
103 </body>
104 </html>