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