Changeset 4ed0ed1 for src/spectral
- Timestamp:
- Dec 17, 2013, 5:30:13 PM (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/applefworks, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- e84ab04
- Parents:
- 1ece4f8
- Location:
- src/spectral
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/spectral/filterbank.c
r1ece4f8 r4ed0ed1 44 44 45 45 /* allocate filter tables, a matrix of length win_s and of height n_filters */ 46 fb->filters = new_fmat ( win_s / 2 + 1, n_filters);46 fb->filters = new_fmat (n_filters, win_s / 2 + 1); 47 47 48 48 return fb; -
src/spectral/mfcc.c
r1ece4f8 r4ed0ed1 67 67 mfcc->in_dct = new_fvec (n_filters); 68 68 69 mfcc->dct_coeffs = new_fmat (n_ coefs, n_filters);69 mfcc->dct_coeffs = new_fmat (n_filters, n_coefs); 70 70 71 71 /* compute DCT transform dct_coeffs[i][j] as
Note: See TracChangeset
for help on using the changeset viewer.