RedOnePole:
Filter:
Classes (extension) | Red > redUGens

RedOnePole : Object
ExtensionExtension

one pole filter with separate up and down coefficients

Description

Very similar to OnePole but can have different coef going upward or downward and also a sclang method. Useful for smoothing sensor data.

Class Methods

RedOnePole.ar(in, up: 0.99, down)

RedOnePole.kr(in, up: 0.99, down)

Arguments:

in

The signal to be filtered.

up

Lag amount for increasing numbers.

down

Lag amount for decreasing numbers. If nil then set to same as up.

RedOnePole.new(up: 0.99, down)

Arguments:

up

Lag amount for increasing numbers.

down

Lag amount for decreasing numbers. If nil then set to same as up.

Inherited class methods

Instance Methods

.onepole(in)

Arguments:

in

The values to be filtered.

.up

.up = value

.down

.down = value

Set or get the amount of lag when using the slide method.

Inherited instance methods

Examples