supernova: fixes for boost-1.49 and gcc-4.7
[supercollider.git] / Help / UGens / Filters / BEQSuite / BBandPass.html
blobb6ab8ae7eb152caf4d39f5813067f74eaa39443d
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: #0000bf}
16 p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #000000; min-height: 12.0px}
17 span.s1 {font: 18.0px Helvetica}
18 span.s2 {font: 9.0px Monaco}
19 span.s3 {color: #000000}
20 span.s4 {color: #0000bf}
21 span.s5 {color: #007300}
22 span.s6 {color: #bf0000}
23 span.Apple-tab-span {white-space:pre}
24 </style>
25 </head>
26 <body>
27 <p class="p1"><span class="s1"><b>BBandPass<span class="Apple-tab-span"> </span></b></span><b><span class="Apple-tab-span"> </span>Band Pass Filter.</b></p>
28 <p class="p2"><br></p>
29 <p class="p3"><b>BBandPass.ar(in, freq, bw, 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>bw</b> - the bandwidth in octaves between -3 dB frequencies</p>
34 <p class="p2"><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="p2"><br></p>
40 <p class="p3">see also:<span class="s2"> </span><b>SOS, BLowPass, BLowPass4, BHiPass, BHiPass4, BPeakEQ, BLowShelf, BHiShelf, BBandStop, BAllPass.</b></p>
41 <p class="p2"><br></p>
42 <p class="p5">s.boot;</p>
43 <p class="p5">(</p>
44 <p class="p5">z = {</p>
45 <p class="p6">BBandPass<span class="s3">.ar(</span></p>
46 <p class="p5"><span class="Apple-tab-span"> </span><span class="s4">SoundIn</span>.ar([0,1]),</p>
47 <p class="p5"><span class="Apple-tab-span"> </span><span class="s4">MouseX</span>.kr(20,20000,<span class="s5">\exponential</span>),</p>
48 <p class="p5"><span class="Apple-tab-span"> </span><span class="s4">MouseY</span>.kr(0.0, 10.0, <span class="s5">\linear</span>), <span class="s6">// bw</span></p>
49 <p class="p5"><span class="Apple-tab-span"> </span>0.5); <span class="s6">// mul</span></p>
50 <p class="p5">}.play)</p>
51 <p class="p5">z.release;</p>
52 <p class="p7"><br></p>
53 <p class="p5">(</p>
54 <p class="p5">z = {</p>
55 <p class="p6">BBandPass<span class="s3">.ar(</span></p>
56 <p class="p6"><span class="s3"><span class="Apple-tab-span"> </span></span>WhiteNoise<span class="s3">.ar ! 2,</span></p>
57 <p class="p5"><span class="Apple-tab-span"> </span><span class="s4">MouseX</span>.kr(20,20000,<span class="s5">\exponential</span>),</p>
58 <p class="p5"><span class="Apple-tab-span"> </span><span class="s4">MouseY</span>.kr(0.0, 10.0, <span class="s5">\linear</span>), <span class="s6">// bw</span></p>
59 <p class="p5"><span class="Apple-tab-span"> </span>0.5); <span class="s6">// mul</span></p>
60 <p class="p5">}.play)</p>
61 <p class="p5">z.release;</p>
62 </body>
63 </html>