Struct biquad::DirectForm1
source · pub struct DirectForm1 { /* private fields */ }
Expand description
Internal states and coefficients of the Direct Form 1 form
Implementations§
source§impl DirectForm1
impl DirectForm1
sourcepub fn new(coefficients: Coefficients) -> DirectForm1
pub fn new(coefficients: Coefficients) -> DirectForm1
Creates a Direct Form 1 biquad from a set of filter coefficients
Trait Implementations§
source§impl Biquad for DirectForm1
impl Biquad for DirectForm1
source§fn 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
source§fn update_coefficients(&mut self, new_coefficients: Coefficients)
fn update_coefficients(&mut self, new_coefficients: Coefficients)
Updating of coefficients
source§impl Clone for DirectForm1
impl Clone for DirectForm1
source§fn clone(&self) -> DirectForm1
fn clone(&self) -> DirectForm1
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more