Changeset 7c6c806d for src/filterbank.h
- Timestamp:
- Sep 6, 2007, 7:32:13 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:
- 7a46bf6, fdf39ba
- Parents:
- 71b1b4b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/filterbank.h
r71b1b4b r7c6c806d 23 23 #define AUBIOFILTERBANK_H 24 24 25 #ifdef __cplusplus 26 extern "C" { 27 #endif 25 28 26 // Struct Declaration27 29 28 /** \brief A structure to store a set of n_filters Mel filters */ 29 typedef struct aubio_mel_filter_ { 30 int n_filters; 31 smpl_t **filters; 32 } aubio_mel_filter; 30 31 typedef struct aubio_mel_filter_ aubio_mel_filter; 33 32 34 33 // Initialization … … 38 37 * 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 39 38 */ 40 int aubio_mfcc_init(int N, float nyquist, int style, float freq_min, float freq_max, int freq_bands, smpl_t ** fft_tables); 39 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); 40 41 #ifdef __cplusplus 42 } 43 #endif 41 44 42 45 #endif
Note: See TracChangeset
for help on using the changeset viewer.