- Timestamp:
- Nov 17, 2018, 2:55:09 PM (6 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
- Children:
- 10fafc2
- Parents:
- c853c1d
- Location:
- src/spectral
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/spectral/mfcc.c
rc853c1d r517630f 151 151 return; 152 152 } 153 154 uint_t aubio_mfcc_set_power (aubio_mfcc_t *mf, smpl_t power) 155 { 156 return aubio_filterbank_set_power(mf->fb, power); 157 } 158 159 uint_t aubio_mfcc_get_power (aubio_mfcc_t *mf) 160 { 161 return aubio_filterbank_get_power(mf->fb); 162 } 163 164 uint_t aubio_mfcc_set_mel_coeffs (aubio_mfcc_t *mf, smpl_t freq_min, 165 smpl_t freq_max) 166 { 167 return aubio_filterbank_set_mel_coeffs(mf->fb, mf->samplerate, 168 freq_min, freq_max); 169 } 170 171 uint_t aubio_mfcc_set_mel_coeffs_htk (aubio_mfcc_t *mf, smpl_t freq_min, 172 smpl_t freq_max) 173 { 174 return aubio_filterbank_set_mel_coeffs_htk(mf->fb, mf->samplerate, 175 freq_min, freq_max); 176 } -
src/spectral/mfcc.h
rc853c1d r517630f 74 74 void aubio_mfcc_do (aubio_mfcc_t * mf, const cvec_t * in, fvec_t * out); 75 75 76 uint_t aubio_mfcc_set_power (aubio_mfcc_t *mf, smpl_t power); 77 uint_t aubio_mfcc_get_power (aubio_mfcc_t *mf); 78 79 uint_t aubio_mfcc_set_mel_coeffs (aubio_mfcc_t *mf, smpl_t freq_min, 80 smpl_t freq_max); 81 uint_t aubio_mfcc_set_mel_coeffs_htk (aubio_mfcc_t *mf, smpl_t freq_min, 82 smpl_t freq_max); 83 uint_t aubio_mfcc_set_mel_coeffs_slaney (aubio_mfcc_t *mf); 84 76 85 #ifdef __cplusplus 77 86 }
Note: See TracChangeset
for help on using the changeset viewer.