1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8">
5 <meta http-equiv=
"Content-Style-Type" content=
"text/css">
7 <meta name=
"Generator" content=
"Cocoa HTML Writer">
8 <meta name=
"CocoaVersion" content=
"949.43">
9 <style type=
"text/css">
10 p
.p1
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
}
11 p
.p2
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
; min-height: 14.0px}
12 p
.p3
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
; color: #001bb9}
13 p
.p4
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; min-height: 12.0px}
14 p
.p5
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
; color: #0021e7}
15 p
.p6
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
}
16 p
.p7
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; color: #001bb9}
17 span
.s1
{font: 18.0px Helvetica
}
18 span
.s2
{font: 15.0px Helvetica
}
19 span
.s3
{color: #000000}
20 span
.s4
{color: #0021e7}
21 span
.s5
{font: 9.0px Monaco
; color: #000000}
22 span
.s6
{font: 12.0px Helvetica
}
23 span
.s7
{color: #001bb9}
24 span
.s8
{color: #2c7014}
25 span
.s9
{color: #ad140d}
26 span
.Apple-tab-span
{white-space:pre
}
30 <p class=
"p1"><span class=
"s1"><b>BHiPass
</b></span><span class=
"s2"><b><span class=
"Apple-tab-span"> </span></b></span><b>12db/oct rolloff -
2nd order resonant
<span class=
"Apple-converted-space"> </span>Hi Pass Filter.
</b></p>
31 <p class=
"p2"><br></p>
32 <p class=
"p3"><span class=
"s3"><b>Inherits from:
</b><a href=
"../../../Core/Object.html"><b>Object
</b></a></span><b> :
</b><a href=
"../../../Core/Kernel/AbstractFunction.html"><span class=
"s4"><b>AbstractFunction
</b></span></a><b> :
</b><a href=
"../../UGen.html"><span class=
"s4"><b>UGen
</b></span></a><b> :
</b><a href=
"../../Filter.html"><span class=
"s4"><b>Filter
</b></span></a><b> :
</b><a href=
"BEQSuite.html"><b>BEQSuite
</b></a></p>
33 <p class=
"p4"><br></p>
34 <p class=
"p1"><b>BHiPass.ar(in, freq, rq, mul, add)
</b></p>
35 <p class=
"p4"><br></p>
36 <p class=
"p1"><b>in
</b> - input signal to be processed
</p>
37 <p class=
"p1"><b>freq
</b> - cutoff frequency.
</p>
38 <p class=
"p1"><b>rq
</b> - the reciprocal of Q.
<span class=
"Apple-converted-space"> </span>bandwidth / cutoffFreq.
<span class=
"Apple-converted-space"> </span></p>
39 <p class=
"p4"><br></p>
40 <p class=
"p1"><b>*sc(dummy, freq, rq)
</b></p>
41 <p class=
"p1"><span class=
"Apple-tab-span"> </span>calculate filter coefficients.
</p>
42 <p class=
"p2"><span class=
"Apple-tab-span"> </span></p>
43 <p class=
"p1">The B equalization suite is based on the Second Order Section (
<b>SOS
</b>) biquad UGen.
</p>
44 <p class=
"p2"><br></p>
45 <p class=
"p1">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>
46 <p class=
"p1">the filter's parameters. This can cause spikes in CPU performance and should be considered when using several of these units.
</p>
47 <p class=
"p4"><br></p>
48 <p class=
"p5"><span class=
"s3">see also:
</span><span class=
"s5"> <a href=
"../SOS.html"><span class=
"s6"><b>SOS
</b></span></a></span><span class=
"s3"><b>,
</b><a href=
"BLowPass.html"><b>BLowPass
</b></a><b>,
</b><a href=
"BLowPass4.html"><b>BLowPass4
</b></a><b>,
</b><a href=
"BHiPass4.html"><b>BHiPass4
</b></a><b>,
</b><a href=
"BPeakEQ.html"><b>BPeakEQ
</b></a><b>,
</b><a href=
"BLowShelf.html"><b>BLowShelf
</b></a><b>,
</b><a href=
"BHiShelf.html"><b>BHiShelf
</b></a><b>,
</b><a href=
"BBandPass.html"><b>BBandPass
</b></a><b>,
</b><a href=
"BBandStop.html"><b>BBandStop
</b></a><b>,
</b><a href=
"BAllPass.html"><b>BAllPass
</b></a><b>.
</b></span></p>
49 <p class=
"p4"><br></p>
50 <p class=
"p4"><br></p>
51 <p class=
"p6">s.boot;
</p>
53 <p class=
"p6">z = {
</p>
54 <p class=
"p7"><span class=
"s3"><span class=
"Apple-tab-span"> </span></span>BHiPass
<span class=
"s3">.ar(
</span></p>
55 <p class=
"p6"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"s7">SoundIn
</span>.ar([
0,
1]),
</p>
56 <p class=
"p6"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"s7">MouseX
</span>.kr(
10,
20000,
<span class=
"s8">\exponential
</span>),
<span class=
"s9">// cutoff freq.
</span></p>
57 <p class=
"p6"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"s7">MouseY
</span>.kr(
0.0,
1.0,
<span class=
"s8">\linear
</span>),
<span class=
"s9">// rq
</span></p>
58 <p class=
"p6"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>0.5);
<span class=
"s9">// mul
</span></p>
59 <p class=
"p6">}.play
</p>
61 <p class=
"p6">z.release;
</p>