SuperCollider CLASSES

OnePole

One pole filter.
Inherits from: Filter : PureUGen : UGen : AbstractFunction : Object
Subclasses: OneZero

Description

A one pole filter. Implements the formula:

out(i) = ((1 - abs(coef)) * in(i)) + (coef * out(i-1)).

Class Methods

*ar (in: 0, coef: 0.5, mul: 1, add: 0)

*kr (in: 0, coef: 0.5, mul: 1, add: 0)

Arguments:

in

The input signal.

coef

Feedback coefficient. Should be between -1 and +1

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

{ OnePole.ar(WhiteNoise.ar(0.5), 0.95) }.play

{ OnePole.ar(WhiteNoise.ar(0.5), -0.95) }.play

{ OnePole.ar(WhiteNoise.ar(0.5), Line.kr(-0.99, 0.99, 10)) }.play