A special case fixed filter. Implements the formula:
out(i) = 0.25 * (in(i) - (2 * in(i - 1)) + in(i - 2)).
in |
The input signal. |
mul |
Output will be multiplied by this value. |
add |
This value will be added to the output. |
// Compare:
{ WhiteNoise.ar(0.25) }.play;
{ HPZ2.ar(WhiteNoise.ar(0.25)) }.play;
// HPZ2 is useful to detect changes in a signal:
// see also HPZ1
(
{
var changingSignal = LFNoise0.ar(1000);
var hpz2 = HPZ2.ar(changingSignal);
[hpz2, hpz2 > 0]
}.plot
);