Skip to main content

band_envelope

Function band_envelope 

Source
pub fn band_envelope(
    samples: &[f64],
    rate: SampleRate,
    lo: Hz,
    hi: Hz,
) -> Result<Track, FilterError>
Expand description

The envelope of one band at 200 Hz: band_magnitude, then the mean of each 5 ms block.

ยงErrors

Returns a FilterError for an edge at 0 Hz or at or above the Nyquist frequency, or hi not above lo.