sclang: ServerShmInterface - try to avoid multiple destructor calls
[supercollider.git] / HelpSource / Classes / BAllPass.schelp
blobc6f2d5415898de105cc0be1f2073296d638425fa
1 class:: BAllPass
2 summary:: All 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/BBandPass, Classes/BBandStop
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::
14 method:: ar
15 argument:: in
16 input signal to be processed.
17 argument:: freq
18 center frequency.
19 argument:: rq
20 the reciprocal of Q. bandwidth / cutoffFreq.
22 examples::
23 code::
24 s.boot;
26 z = { // thru
27 BAllPass.ar(
28         SoundIn.ar([0, 1]),
29         MouseX.kr(10, 18000, \exponential),
30         0.8, // rq
31         0.5); // mul
32 }.play)
33 z.release;
36 z = { // like a bandpass
37         var sig;
38         sig = SoundIn.ar([0,1]), * 0.5;
39         BAllPass.ar(sig, MouseX.kr(10, 18000, \exponential), 0.8) + sig.neg
40 }.play)
41 z.release;