SuperCollider CLASSES

LeakDC

Remove DC
Inherits from: Filter : PureUGen : UGen : AbstractFunction : Object

Description

This filter removes DC offset from a signal.

Class Methods

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

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

Arguments:

in

The input signal.

coef

Leak coefficient.

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

(
{
    var a;
    a = LFPulse.ar(800, 0.5, 0.5, 0.5);
    [a, LeakDC.ar(a, 0.995)]
}.scope(bufsize: 22050)
)