linux: shared memory interface - link with librt
[supercollider.git] / HelpSource / Classes / BPF.schelp
blob7c1921c62bd262ee41ba8ad81d8a0117ccf0f9f6
1 class:: BPF
2 summary:: 2nd order Butterworth bandpass filter.
3 related:: Classes/BRF, Classes/HPF, Classes/LPF
4 categories::  UGens>Filters>Linear
7 Description::
9 A second order band pass filter.
12 classmethods::
14 method::ar, kr
16 argument::in
18 The input signal.
21 argument::freq
23 Centre frequency in Hertz.
26 argument::rq
28 The reciprocal of Q (bandwidth / cutoffFreq).
31 Examples::
33 code::
34 { BPF.ar(Saw.ar(200,0.5), FSinOsc.kr(XLine.kr(0.7,300,20),0,3600,4000), 0.3) }.play;
36 { BPF.ar(Saw.ar(200,0.5), MouseX.kr(100, 10000, 1), 0.3) }.play;
38         // BPF on control signals:
40 {       var vib = BPF.kr(PinkNoise.kr, MouseX.kr(1, 100, 1), 0.3) * 10;
41         SinOsc.ar(vib * 200 + 600) * 0.2 }.play;