linux: shared memory interface - link with librt
[supercollider.git] / HelpSource / Classes / LPZ1.schelp
blobd2dca3aa1785cc84c7e1c867b65cc3833cf2b947
1 class:: LPZ1
2 summary:: Two point average filter
3 related:: Classes/HPZ1
4 categories::  UGens>Filters>Linear
7 Description::
9 A special case fixed filter. Implements the formula:
10 formula::
11 out(i) = 0.5 * (in(i) + in(i-1))
13 which is a two point averager.
16 classmethods::
18 method::ar, kr
20 argument::in
22 The input signal.
25 argument::mul
27 Output will be multiplied by this value.
30 argument::add
32 This value will be added to the output.
35 Examples::
37 code::
38 //Compare:
40 { WhiteNoise.ar(0.25) }.play;
42 { LPZ1.ar(WhiteNoise.ar(0.25)) }.play;