Struct bliss_audio_aubio_rs::FilterBank [−][src]
pub struct FilterBank { /* fields omitted */ }
Expand description
Filterbank object.
General-purpose spectral filterbank object.
Implementations
impl FilterBank
[src]
impl FilterBank
[src]pub fn new(n_filters: usize, win_s: usize) -> Result<Self>
[src]
pub fn new(n_filters: usize, win_s: usize) -> Result<Self>
[src]Create filterbank object.
n_filters
: Number of filters to createwin_s
: size of analysis buffer (and length of the FFT transform)
Allocates an empty matrix of length win_s / 2 + 1 and height n_filters
pub fn set_coeffs(&mut self, filters: FMat<'_, FMatVecs>)
[src]
pub fn get_coeffs(&mut self) -> FMat<'_, ()>
[src]
pub fn do_<'i, 'o, I, O>(&mut self, input: I, output: O) -> Status where
I: Into<CVec<'i>>,
O: Into<FVecMut<'o>>,
[src]
I: Into<CVec<'i>>,
O: Into<FVecMut<'o>>,