three point average filter UGen. Implements the formula :
out(i) = 0.25 * (in(i) + 2 * in(i-1) + in(i-2))
===Examples===
// engage with mouse button
play {
val sig = WhiteNoise.ar(0.5)
val flt = LPZ2.ar(sig)
LinXFade2.ar(sig, flt, MouseButton.kr(-1, 1))
}
- See also
- Companion
- class