linux: shared memory interface - link with librt
[supercollider.git] / HelpSource / Classes / BBandPass.schelp
bloba4487715823600b510773c761a9dcb407d075cc6
1 class:: BBandPass
2 summary:: Band Pass Filter
3 categories:: UGens>Filters>BEQSuite
4 related:: Classes/SOS, Classes/BLowPass, Classes/BLowPass4, Classes/BHiPass, Classes/BHiPass4, Classes/BPeakEQ, Classes/BLowShelf, Classes/BHiShelf, 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 center frequency.
20 argument:: bw
21 the bandwidth in octaves between -3 dB frequencies.
23 examples::
24 code::
25 s.boot;
27 z = {
28 BBandPass.ar(
29         SoundIn.ar([0,1]),
30         MouseX.kr(20, 20000, \exponential),
31         MouseY.kr(0.0, 10.0, \linear), // bw
32         0.5); // mul
33 }.play)
34 z.release;
37 z = {
38 BBandPass.ar(
39         WhiteNoise.ar ! 2,
40         MouseX.kr(20, 20000, \exponential),
41         MouseY.kr(0.0, 10.0, \linear), // bw
42         0.5); // mul
43 }.play)
44 z.release;