scide: implement selectionLength for openDocument
[supercollider.git] / HelpSource / Classes / BPF.schelp
blob17bec2ba70473e7d9ce42096a197928638a7bb65
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. Q is conventionally defined as cutoffFreq / bandwidth, meaning rq = (bandwidth / cutoffFreq).
30 argument::mul
32 argument::add
34 Examples::
36 code::
37 { BPF.ar(Saw.ar(200,0.5), FSinOsc.kr(XLine.kr(0.7,300,20),0,3600,4000), 0.3) }.play;
39 { BPF.ar(Saw.ar(200,0.5), MouseX.kr(100, 10000, 1), 0.3) }.play;
41         // BPF on control signals:
43 {       var vib = BPF.kr(PinkNoise.kr, MouseX.kr(1, 100, 1), 0.3) * 10;
44         SinOsc.ar(vib * 200 + 600) * 0.2 }.play;