supernova: fixes for boost-1.49 and gcc-4.7
[supercollider.git] / Help / UGens / Filters / BEQSuite / BLowPass4.html
blob1dec61b8bc6cfe0cddf82cb72259fa69d49dc8c9
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; min-height: 12.0px}
15 p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #000000}
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: #bf0000}
18 span.s1 {font: 18.0px Helvetica}
19 span.s2 {font: 9.0px Monaco}
20 span.s3 {color: #000000}
21 span.s4 {color: #0000bf}
22 span.s5 {color: #007300}
23 span.s6 {color: #bf0000}
24 span.Apple-tab-span {white-space:pre}
25 </style>
26 </head>
27 <body>
28 <p class="p1"><span class="s1"><b>BLowPass4</b></span><b><span class="Apple-tab-span"> </span>24db/oct rolloff - 4th order resonant Low Pass Filter. [1]</b></p>
29 <p class="p2"><br></p>
30 <p class="p3"><b>BLowPass4.ar(in, freq, rq, mul, add)</b></p>
31 <p class="p2"><br></p>
32 <p class="p3"><b>in</b> - input signal to be processed</p>
33 <p class="p3"><b>freq</b> - cutoff frequency.</p>
34 <p class="p3"><b>rq</b> - the reciprocal of Q.<span class="Apple-converted-space">  </span>bandwidth / cutoffFreq.</p>
35 <p class="p4"><br></p>
36 <p class="p3">The B equalization suite is based on the Second Order Section (<b>SOS</b>) biquad UGen.</p>
37 <p class="p4"><br></p>
38 <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>
39 <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>
40 <p class="p4"><br></p>
41 <p class="p3">[1] this is a composite pseudo UGen. BLowPass4 is built by cascading 2 SOS sections.</p>
42 <p class="p4"><br></p>
43 <p class="p3">see also:<span class="s2"> </span><b>SOS, BLowPass, BHiPass, BHiPass4, BPeakEQ, BLowShelf, BHiShelf, BBandPass, BBandStop, BAllPass.</b></p>
44 <p class="p5"><br></p>
45 <p class="p6">s.boot;</p>
46 <p class="p6">(</p>
47 <p class="p6">z = {</p>
48 <p class="p7"><span class="s3"><span class="Apple-tab-span"> </span></span>BLowPass4<span class="s3">.ar(</span></p>
49 <p class="p6"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><span class="s4">SoundIn</span>.ar([0,1]),</p>
50 <p class="p6"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><span class="s4">MouseX</span>.kr(10,20000,<span class="s5">\exponential</span>), <span class="s6">// cutoff freq.</span></p>
51 <p class="p8"><span class="s3"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s4">MouseY</span><span class="s3">.kr(0.1, 1.0, </span><span class="s5">\linear</span><span class="s3">), </span>// rq - compensate for 2 biquad sections.</p>
52 <p class="p6"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>0.5); <span class="s6">// mul</span></p>
53 <p class="p6">}.play)</p>
54 <p class="p6">z.release;</p>
55 <p class="p5"><br></p>
56 </body>
57 </html>