|
aubio
0.4.1
|
Filterbank object. More...
Go to the source code of this file.
Typedefs | |
| typedef struct _aubio_filterbank_t | aubio_filterbank_t |
| filterbank object | |
Functions | |
| aubio_filterbank_t * | new_aubio_filterbank (uint_t n_filters, uint_t win_s) |
| create filterbank object | |
| void | del_aubio_filterbank (aubio_filterbank_t *f) |
| destroy filterbank object | |
| void | aubio_filterbank_do (aubio_filterbank_t *f, cvec_t *in, fvec_t *out) |
| compute filterbank | |
| fmat_t * | aubio_filterbank_get_coeffs (aubio_filterbank_t *f) |
| return a pointer to the matrix object containing all filter coefficients | |
| uint_t | aubio_filterbank_set_coeffs (aubio_filterbank_t *f, fmat_t *filters) |
| copy filter coefficients to the filterbank | |
| typedef struct _aubio_filterbank_t aubio_filterbank_t |
filterbank object
This object stores a matrix of spectral filter coefficients.
Definition at line 45 of file filterbank.h.
| void aubio_filterbank_do | ( | aubio_filterbank_t * | f, |
| cvec_t * | in, | ||
| fvec_t * | out | ||
| ) |
compute filterbank
| f | filterbank object, as returned by new_aubio_filterbank() |
| in | input spectrum containing an input spectrum of length `win_s` |
| out | output vector containing the energy found in each band, `nfilt` output values |
return a pointer to the matrix object containing all filter coefficients
| f | filterbank object, as returned by new_aubio_filterbank() |
| uint_t aubio_filterbank_set_coeffs | ( | aubio_filterbank_t * | f, |
| fmat_t * | filters | ||
| ) |
copy filter coefficients to the filterbank
| f | filterbank object, as returned by new_aubio_filterbank() |
| filters | filter bank coefficients to copy from |
| void del_aubio_filterbank | ( | aubio_filterbank_t * | f | ) |
destroy filterbank object
| f | filterbank object, as returned by new_aubio_filterbank() |
| aubio_filterbank_t* new_aubio_filterbank | ( | uint_t | n_filters, |
| uint_t | win_s | ||
| ) |
create filterbank object
| n_filters | number of filters to create |
| win_s | size of analysis buffer (and length the FFT transform) |
1.7.6.1