class library: SynthDef - lazy implementation of removeUGen
[supercollider.git] / HelpSource / Classes / BLowPass.schelp
blob4536fb6fab24df23daa079b9dfbe2fd96c6e612f
1 class:: BLowPass
2 summary:: 12db/oct rolloff - 2nd order resonant Low Pass Filter
3 categories:: UGens>Filters>BEQSuite
4 related:: Classes/SOS, Classes/BLowPass4, Classes/BHiPass, 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         BLowPass.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;