Classes | UGens > Filters > Linear

LPZ2 : Filter : PureUGen : UGen : AbstractFunction : Object

Two zero fixed lowpass
Source: Filter.sc
Subclasses: BPZ2, BRZ2, HPZ2

Description

A special case fixed filter. Implements the formula:

out(i) = 0.25 * (in(i) + (2 * in(i - 1)) + in(i - 2)).

Class Methods

LPZ2.ar(in: 0, mul: 1, add: 0)

LPZ2.kr(in: 0, mul: 1, add: 0)

Arguments:

in

The input signal.

mul

Output will be multiplied by this value.

add

This value will be added to the output.

Inherited class methods

Instance Methods

Inherited instance methods

Examples

//Compare:

{ WhiteNoise.ar(0.25) }.play;

{ LPZ2.ar(WhiteNoise.ar(0.25)) }.play;