Type which hold the biquad coefficients. Important: Coefficients are considered always normalized by a0. Note: coeff[0] is b0, coeff[1] is b1, coeff[2] is b2, coeff[3] is a1, coeff[4] is a2 in the litterature.
Bessel 2-pole lowpass.
Identity biquad, pass signal unchanged.
1-pole high-pass filter. Note: Like the corresponding one-pole lowpass, this is normalized for DC. The cutoff frequency can be <= 0 Hz, in which case it is a bypass. Going in very high frequency does NOT give zero. You always have -3 dB at cutoff in the valid range.
1-pole high-pass filter, frequency mapping is not precise. Not accurate across sample rates, but coefficient computation is cheap. Not advised.
1-pole low-pass filter. Note: the cutoff frequency can be >= nyquist, in which case it asymptotically approaches a bypass. the cutoff frequency can be below 0 Hz, in which case it is equal to zero. This filter is normalized on DC. You always have -3 dB at cutoff in the valid range.
1-pole low-pass filter, frequency mapping is not precise. Not accurate across sample rates, but coefficient computation is cheap. Not advised.
2nd order All-pass filter as described by Robert Bristow-Johnson. This is helpful to introduce the exact same phase response as the RBJ low-pass, but doesn't affect magnitude.
Band-pass filter as described by Robert Bristow-Johnson.
High-pass filter 12 dB/oct as described by Robert Bristow-Johnson.
High-shelf filter as described by Robert Bristow-Johnson.
Low-pass filter 12 dB/oct as described by Robert Bristow-Johnson.
Low-shelf filter as described by Robert Bristow-Johnson.
Notch filter as described by Robert Bristow-Johnson.
Peak filter as described by Robert Bristow-Johnson.
Zero biquad, gives zero output.
Maintain state for a biquad state. A biquad is a realization that can model two poles and two zeros.
Basic IIR 1-pole and 2-pole filters through biquads.