linux: shared memory interface - link with librt
[supercollider.git] / HelpSource / Classes / OnePole.schelp
blobc9696305ae99a8a99c6d8f0c08411c08d2c04d1e
1 class:: OnePole
2 summary:: One pole filter.
3 related:: Classes/OneZero
4 categories::  UGens>Filters>Linear
7 Description::
9 A one pole filter. Implements the formula:
11 formula::
13 out(i) = ((1 - abs(coef)) * in(i)) + (coef * out(i-1)).
18 classmethods::
20 method::ar, kr
22 argument::in
24 The input signal.
27 argument::coef
29 Feedback coefficient. Should be between -1 and +1
32 argument::mul
34 Output will be multiplied by this value.
37 argument::add
39 This value will be added to the output.
42 Examples::
44 code::
46 { OnePole.ar(WhiteNoise.ar(0.5), 0.95) }.play
48 { OnePole.ar(WhiteNoise.ar(0.5), -0.95) }.play
50 { OnePole.ar(WhiteNoise.ar(0.5), Line.kr(-0.99, 0.99, 10)) }.play