surge-biquad 0.2.12-alpha.0

biquad filters from the surge synthesizer
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
crate::ix!();

/// This trait defines a function for calculating
/// the coefficients of a notch filter:
/// 
pub trait BiquadCoeffNotch {

    /// This function takes an angular frequency
    /// (`omega`) and a quality factor
    /// (`quality_factor`) and sets the filter
    /// coefficients to produce a notch filter
    /// with
    ///
    fn set_notch_filter_coefficients(&mut self, omega: f64, quality_factor: f64);
}