Merge pull request #506 from andrewcsmith/patch-2
[supercollider.git] / HelpSource / Classes / LeakDC.schelp
blob7d6ec333d54b92230c9c0eb4b325372f1665de7b
1 class:: LeakDC
2 summary:: Remove DC
3 related:: Classes/DC
4 categories::  UGens>Filters>Linear
7 Description::
9 This filter removes DC offset from a signal.
12 classmethods::
14 method::ar, kr
16 argument::in
18 The input signal.
21 argument::coef
23 Leak coefficient.
26 argument::mul
28 Output will be multiplied by this value.
31 argument::add
33 This value will be added to the output.
36 Examples::
38 code::
41         var a;
42         a = LFPulse.ar(800, 0.5, 0.5, 0.5);
43         [a, LeakDC.ar(a, 0.995)]
44 }.scope(bufsize: 22050)