1class:: OnePole 2summary:: One pole filter. 3related:: Classes/OneZero 4categories:: UGens>Filters>Linear 5 6 7Description:: 8 9A one pole filter. Implements the formula: 10 11code:: 12 13out(i) = ((1 - abs(coef)) * in(i)) + (coef * out(i-1)). 14 15:: 16 17 18classmethods:: 19 20method::ar, kr 21 22argument::in 23 24The input signal. 25 26 27argument::coef 28 29Feedback coefficient. Should be between -1 and +1 30 31 32argument::mul 33 34Output will be multiplied by this value. 35 36 37argument::add 38 39This value will be added to the output. 40 41 42Examples:: 43 44code:: 45 46{ OnePole.ar(WhiteNoise.ar(0.5), 0.95) }.play 47 48{ OnePole.ar(WhiteNoise.ar(0.5), -0.95) }.play 49 50{ OnePole.ar(WhiteNoise.ar(0.5), Line.kr(-0.99, 0.99, 10)) }.play 51 52:: 53 54