supernova: fixes for boost-1.49 and gcc-4.7
[supercollider.git] / Help / UGens / Filters / BEQSuite / BPeakEQ.html
blobdbce85969965994223710594d10a0f6c9f56377c
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: #bf0000}
17 p.p8 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #0000bf}
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>BPeakEQ<span class="Apple-tab-span"> </span></b></span><b><span class="Apple-tab-span"> </span>parametric equalizer.</b></p>
29 <p class="p2"><br></p>
30 <p class="p3"><b>BPeakEQ.ar(in, freq, rq, db, 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> - center 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="p3"><b>db </b>- boost/cut the center frequency (in dBs).</p>
36 <p class="p2"><br></p>
37 <p class="p3">The B equalization suite is based on the Second Order Section (<b>SOS</b>) biquad UGen.</p>
38 <p class="p4"><br></p>
39 <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>
40 <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>
41 <p class="p4"><br></p>
42 <p class="p3">see also:<span class="s2"> </span><b>SOS, BLowPass, BLowPass4, BHiPass, BHiPass4, BLowShelf, BHiShelf, BBandPass, BBandStop, BAllPass.</b></p>
43 <p class="p5"><br></p>
44 <p class="p6">s.boot;</p>
45 <p class="p6">(</p>
46 <p class="p7"><span class="s3">z = { </span>// toy with boost/cut</p>
47 <p class="p8">BPeakEQ<span class="s3">.ar(</span></p>
48 <p class="p6"><span class="Apple-tab-span"> </span><span class="s4">SoundIn</span>.ar([0,1]),</p>
49 <p class="p6"><span class="Apple-tab-span"> </span><span class="s4">MouseX</span>.kr(20,20000,<span class="s5">\exponential</span>),</p>
50 <p class="p6"><span class="Apple-tab-span"> </span>0.8,<span class="Apple-converted-space">  </span><span class="s6">// rq</span></p>
51 <p class="p6"><span class="Apple-tab-span"> </span><span class="s4">MouseY</span>.kr(12.0, -12.0, <span class="s5">\linear</span>),</p>
52 <p class="p6"><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 <p class="p6">(</p>
57 <p class="p7"><span class="s3">z = { </span>// toy with rq</p>
58 <p class="p8">BPeakEQ<span class="s3">.ar(</span></p>
59 <p class="p6"><span class="Apple-tab-span"> </span><span class="s4">SoundIn</span>.ar([0,1]),</p>
60 <p class="p6"><span class="Apple-tab-span"> </span><span class="s4">MouseX</span>.kr(20,20000,<span class="s5">\exponential</span>),</p>
61 <p class="p6"><span class="Apple-tab-span"> </span><span class="s4">MouseY</span>.kr(10, 0.4, <span class="s5">\linear</span>),<span class="Apple-converted-space">  </span><span class="s6">// rq</span></p>
62 <p class="p7"><span class="s3"><span class="Apple-tab-span"> </span>6, </span>// boost/cut - +6dB</p>
63 <p class="p6"><span class="Apple-tab-span"> </span>0.5); <span class="s6">// mul</span></p>
64 <p class="p6">}.play)</p>
65 <p class="p6">z.release;</p>
66 </body>
67 </html>