Changeset 78c21cf
- Timestamp:
- Dec 31, 2013, 12:25:04 AM (11 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:
- 67b05b4
- Parents:
- 5644069
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/spectral/mfcc.c
r5644069 r78c21cf 52 52 /* allocate space for mfcc object */ 53 53 aubio_mfcc_t *mfcc = AUBIO_NEW (aubio_mfcc_t); 54 smpl_t scaling; 54 55 55 56 uint_t i, j; … … 71 72 /* compute DCT transform dct_coeffs[i][j] as 72 73 cos ( j * (i+.5) * PI / n_filters ) */ 73 s mpl_t scaling = 1. / SQRT (n_filters / 2.);74 scaling = 1. / SQRT (n_filters / 2.); 74 75 for (i = 0; i < n_filters; i++) { 75 76 for (j = 0; j < n_coefs; j++) {
Note: See TracChangeset
for help on using the changeset viewer.