fn frequency_constants(sample_rate: u32, cutoff: f32) -> (f32, f32) {
    let c = (sample_rate as f32) / PI / cutoff;
    let a0 = 1.0 / (1.0 + c);
    (c, a0)
}
/// Used to calculate the frequency constants used in Filters
Used to calculate the frequency constants used in Filters
Used to calculate the frequency constants used in Filters
fn frequency_constants(sample_rate: u32, cutoff: f32) -> (f32, f32) {
    let c = (sample_rate as f32) / PI / cutoff;
    let a0 = 1.0 / (1.0 + c);
    (c, a0)
}
fn frequency_constants ( sample_rate : u32 , cutoff : f32 ) -> ( f32 , f32 ) { let c = ( sample_rate as f32 ) / PI / cutoff ; let a0 = 1.0 / ( 1.0 + c ) ; ( c , a0 ) }
Used to calculate the frequency constants used in Filters
Used to calculate the frequency constants used in Filters
sample_rate
u32
cutoff
f32
sample_rate
u32
cutoff
f32