rsc3/doc-schelp/HelpSource/Classes/LPZ2.schelp

44 lines
555 B
Text
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
class:: LPZ2
summary:: Two zero fixed lowpass
related:: Classes/BPZ2, Classes/BRZ2, Classes/HPZ2
categories:: UGens>Filters>Linear
Description::
A special case fixed filter. Implements the formula:
code::
out(i) = 0.25 * (in(i) + (2 * in(i - 1)) + in(i - 2)).
::
classmethods::
method::ar, kr
argument::in
The input signal.
argument::mul
Output will be multiplied by this value.
argument::add
This value will be added to the output.
Examples::
code::
//Compare:
{ WhiteNoise.ar(0.25) }.play;
{ LPZ2.ar(WhiteNoise.ar(0.25)) }.play;
::