linux: shared memory interface - link with librt
[supercollider.git] / HelpSource / Classes / Slew.schelp
blob29a4d7ec1bfdb63eccea4aea3f3fc3f71d9457d7
1 class:: Slew
2 summary:: Slew rate limiter.
3 related:: Classes/Slope, Classes/Ramp, Classes/Lag, Classes/VarLag
4 categories::  UGens>Filters>Nonlinear
7 Description::
9 Limits the slope of an input signal. The slope is expressed in units per
10 second.
12 For smoothing out control signals, take a look at link::Classes/Lag:: and link::Classes/VarLag::
14 classmethods::
16 method::ar, kr
18 argument::in
20 The input signal.
23 argument::up
25 Maximum upward slope in units per second.
28 argument::dn
30 Maximum downward slope in units per second.
33 argument::mul
35 Output will be multiplied by this value.
38 argument::add
40 This value will be added to the output.
43 Examples::
45 code::
49         z = LFPulse.ar(800);
50         [z, Slew.ar(z, 4000, 4000)]
51 }.plot)
55 Has the effect of removing transients and higher frequencies.
59         z = Saw.ar(800,mul:0.2);
60         Slew.ar(z,400,400)
62 }.play