Struct biquad::coefficients::Coefficients
source[−]pub struct Coefficients<T> {
pub a1: T,
pub a2: T,
pub b0: T,
pub b1: T,
pub b2: T,
}
Expand description
Holder of the biquad coefficients, utilizes normalized form
Fields
a1: T
a2: T
b0: T
b1: T
b2: T
Implementations
Creates coefficients based on the biquad filter type, sampling and cutoff frequency, and Q
value. Note that the cutoff frequency must be smaller than half the sampling frequency and
that Q may not be negative, this will result in an Err()
.
Creates coefficients based on the biquad filter type, sampling and cutoff frequency, and Q
value. Note that the cutoff frequency must be smaller than half the sampling frequency and
that Q may not be negative, this will result in an Err()
.