1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
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
}
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>
36 <p class=
"p3"><b>Balance2.ar(left, right, pos, level)
</b></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"> </span></p>
53 <p class=
"p3"><b>left
</b> - channel
1 of input
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
62 <p class=
"p3"><b>level
</b> - a control rate
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>
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>