pub struct BiquadCoefficients<Sample: Float> { /* private fields */ }Implementations§
Source§impl<Sample: Float> BiquadCoefficients<Sample>
impl<Sample: Float> BiquadCoefficients<Sample>
Sourcepub fn response(&self, normalized_frequency: Sample) -> Complex<f64>
pub fn response(&self, normalized_frequency: Sample) -> Complex<f64>
Calculate the filter response to a given frequency. Useful for drawing frequency response charts.
Takes in a normalized_frequency between 0 and 1.
pub fn set_coefficients( &mut self, a0: Sample, a1: Sample, a2: Sample, b0: Sample, b1: Sample, b2: Sample, )
Trait Implementations§
Auto Trait Implementations§
impl<Sample> Freeze for BiquadCoefficients<Sample>where
Sample: Freeze,
impl<Sample> RefUnwindSafe for BiquadCoefficients<Sample>where
Sample: RefUnwindSafe,
impl<Sample> Send for BiquadCoefficients<Sample>where
Sample: Send,
impl<Sample> Sync for BiquadCoefficients<Sample>where
Sample: Sync,
impl<Sample> Unpin for BiquadCoefficients<Sample>where
Sample: Unpin,
impl<Sample> UnwindSafe for BiquadCoefficients<Sample>where
Sample: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more