OnePole one pole filter


Inherits from: Object : AbstractFunction : UGen : Filter 


OnePole.ar(in, coef, mul, add)


A one pole filter. Implements the formula :


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


in - input signal to be processed

coef - feedback coefficient. Should be between -1 and +1


{ 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