Struct biquad::coefficients::Coefficients[][src]

pub struct Coefficients {
    pub a1: f32,
    pub a2: f32,
    pub b0: f32,
    pub b1: f32,
    pub b2: f32,
}

Holder of the biquad coefficients, utilizes normalized form

Fields

Methods

impl Coefficients
[src]

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(&str).

Trait Implementations

impl Clone for Coefficients
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Coefficients
[src]

impl Debug for Coefficients
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations