supernova: fixes for boost-1.49 and gcc-4.7
[supercollider.git] / Help / UGens / Filters / BEQSuite / BAllPass.html
blobbb5624a44fa9ed2e37482c80d9929c9cf1671cc1
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="949.35">
9 <style type="text/css">
10 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 15.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: #000000}
15 p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #bf0000}
16 p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #0000bf}
17 p.p8 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #000000; min-height: 12.0px}
18 span.s1 {font: 18.0px Helvetica}
19 span.s2 {color: #000000}
20 span.s3 {color: #0000bf}
21 span.s4 {color: #007300}
22 span.s5 {color: #bf0000}
23 span.Apple-tab-span {white-space:pre}
24 </style>
25 </head>
26 <body>
27 <p class="p1"><span class="s1"><b>BAllPass<span class="Apple-tab-span"> </span></b></span><b><span class="Apple-tab-span"> </span>All Pass Filter.</b></p>
28 <p class="p2"><br></p>
29 <p class="p3"><b>BAllPass.ar(in, freq, rq, mul, add)</b></p>
30 <p class="p2"><br></p>
31 <p class="p3"><b>in</b> - input signal to be processed.</p>
32 <p class="p3"><b>freq</b> - center frequency.</p>
33 <p class="p3"><b>rq</b> - the reciprocal of Q.<span class="Apple-converted-space">  </span>bandwidth / cutoffFreq.<span class="Apple-converted-space"> </span></p>
34 <p class="p4"><br></p>
35 <p class="p3">The B equalization suite is based on the Second Order Section (<b>SOS</b>) biquad UGen.</p>
36 <p class="p4"><br></p>
37 <p class="p3">note: Biquad coefficient calculations imply certain amount of CPU overhead. These plugin UGens contain optimizations such that the coefficients get updated only when there has been a change to one of</p>
38 <p class="p3">the filter's parameters. This can cause spikes in CPU performance and should be considered when using several of these units.</p>
39 <p class="p4"><br></p>
40 <p class="p3">see also: <b>SOS, BLowPass, BLowPass4, BHiPass, BHiPass4, BPeakEQ, BLowShelf, BHiShelf, BBandPass, BBandStop</b></p>
41 <p class="p2"><br></p>
42 <p class="p5">s.boot;</p>
43 <p class="p5">(</p>
44 <p class="p6"><span class="s2">z = { </span>// thru</p>
45 <p class="p7">BAllPass<span class="s2">.ar(</span></p>
46 <p class="p5"><span class="Apple-tab-span"> </span><span class="s3">SoundIn</span>.ar([0,1]),</p>
47 <p class="p5"><span class="Apple-tab-span"> </span><span class="s3">MouseX</span>.kr(10,18000,<span class="s4">\exponential</span>),</p>
48 <p class="p5"><span class="Apple-tab-span"> </span>0.8, <span class="s5">// rq</span></p>
49 <p class="p5"><span class="Apple-tab-span"> </span>0.5); <span class="s5">// mul</span></p>
50 <p class="p5">}.play)</p>
51 <p class="p5">z.release;</p>
52 <p class="p8"><br></p>
53 <p class="p5">(</p>
54 <p class="p6"><span class="s2">z = { </span>// like a bandpass</p>
55 <p class="p5"><span class="Apple-tab-span"> </span><span class="s3">var</span> sig;</p>
56 <p class="p5"><span class="Apple-tab-span"> </span>sig = <span class="s3">SoundIn</span>.ar([0,1]), * 0.5;</p>
57 <p class="p5"><span class="Apple-tab-span"> </span><span class="s3">BAllPass</span>.ar(sig, <span class="s3">MouseX</span>.kr(10,18000,<span class="s4">\exponential</span>), 0.8) + sig.neg</p>
58 <p class="p5">}.play)</p>
59 <p class="p5">z.release;</p>
60 </body>
61 </html>