Changeset b276dee for src/filterbank.h
- Timestamp:
- Sep 8, 2007, 3:59:11 PM (17 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- f14a78d
- Parents:
- 53a7576
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/filterbank.h
r53a7576 rb276dee 44 44 aubio_filterbank_t * new_aubio_filterbank(uint_t n_filters, uint_t win_s); 45 45 46 /** filterbank initialization for mel filters 47 48 \param nyquist nyquist frequency, i.e. half of the sampling rate 49 \param style libxtract style 50 \param freqmin lowest filter frequency 51 \param freqmax highest filter frequency 52 53 */ 54 aubio_filterbank_t * new_aubio_filterbank_mfcc(uint_t n_filters, uint_t win_s, smpl_t samplerate, smpl_t freq_min, smpl_t freq_max); 55 56 46 57 /** destroy filterbank object 47 58 … … 51 62 void del_aubio_filterbank(aubio_filterbank_t * fb); 52 63 53 /** filterbank initialization for mel filters 54 55 \param fb filterbank, as returned by new_aubio_filterbank method 56 \param nyquist nyquist frequency, i.e. half of the sampling rate 57 \param style libxtract style 58 \param freqmin lowest filter frequency 59 \param freqmax highest filter frequency 64 /** compute filterbank 60 65 61 66 */ 62 void aubio_filterbank_mfcc_init(aubio_filterbank_t * fb, smpl_t nyquist, int style, smpl_t freq_min, smpl_t freq_max); 63 64 // Initialization 65 66 /** \brief A function to initialise a mel filter bank 67 * 68 * It is up to the caller to pass in a pointer to memory allocated for freq_bands arrays of length N. This function populates these arrays with magnitude coefficients representing the mel filterbank on a linear scale 69 */ 70 int aubio_mfcc_init(int N, smpl_t nyquist, int style, smpl_t freq_min, smpl_t freq_max, int freq_bands, smpl_t ** fft_tables); 67 void aubio_filterbank_do(aubio_filterbank_t * fb, cvec_t * in, fvec_t *out); 71 68 72 69 #ifdef __cplusplus
Note: See TracChangeset
for help on using the changeset viewer.