Skip to main content

build_erb_bank

Function build_erb_bank 

Source
pub fn build_erb_bank(
    n_fft_bins: usize,
    n_bands: usize,
    sample_rate: f32,
    fmin: f32,
    fmax: f32,
    weights_out: &mut [f32],
) -> Result<(), AudioError>
Expand description

Build a triangular ERB filterbank as a row-major n_bands × n_fft_bins weight table.