linux: shared memory interface - link with librt
[supercollider.git] / HelpSource / Classes / BHiPass.schelp
blob029b7f66ecae71886235f946ae165be6b3c204ed
1 class:: BHiPass
2 summary:: 12db/oct rolloff - 2nd order resonant  Hi Pass Filter
3 categories:: UGens>Filters>BEQSuite
4 related:: Classes/SOS, Classes/BLowPass, Classes/BLowPass4, Classes/BHiPass4, Classes/BPeakEQ, Classes/BLowShelf, Classes/BHiShelf, Classes/BBandPass, Classes/BBandStop, Classes/BAllPass
6 description::
7 The B equalization suite is based on the Second Order Section (link::Classes/SOS::) biquad UGen.
9 note::
10 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 the filter's parameters. This can cause spikes in CPU performance and should be considered when using several of these units.
13 classmethods::
15 method:: ar
16 argument:: in
17 input signal to be processed.
18 argument:: freq
19 cutoff frequency.
20 argument:: rq
21 the reciprocal of Q.  bandwidth / cutoffFreq.
23 method:: sc
24 calculate filter coefficients.
26 examples::
27 code::
28 s.boot;
30 z = {
31         BHiPass.ar(
32                 SoundIn.ar([0,1]),
33                 MouseX.kr(10, 20000, \exponential), // cutoff freq.
34                 MouseY.kr(0.0, 1.0, \linear), // rq
35                 0.5); // mul
36 }.play
38 z.release;