pub trait Biquad {
fn run(&mut self, input: f32) -> f32;
fn update_coefficients(&mut self, new_coefficients: Coefficients);
}
Expand description
The required functions of a biquad implementation
Required Methods§
sourcefn run(&mut self, input: f32) -> f32
fn run(&mut self, input: f32) -> f32
A single iteration of a biquad, applying the filtering on the input
sourcefn update_coefficients(&mut self, new_coefficients: Coefficients)
fn update_coefficients(&mut self, new_coefficients: Coefficients)
Updating of coefficients