Changeset 2062e48
- Timestamp:
- Sep 23, 2009, 6:37:24 PM (15 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:
- b511fa9
- Parents:
- 75a0f40
- Location:
- src/spectral
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/spectral/filterbank.c
r75a0f40 r2062e48 45 45 46 46 /* allocate filter tables, an fvec of length win_s and of filter_cnt channel */ 47 fb->filters = new_fvec (win_s , n_filters);47 fb->filters = new_fvec (win_s / 2 + 1, n_filters); 48 48 49 49 return fb; -
src/spectral/filterbank_mel.c
r75a0f40 r2062e48 70 70 /* fill fft_freqs lookup table, which assigns the frequency in hz to each bin */ 71 71 for (bin = 0; bin < win_s; bin++) { 72 fft_freqs->data[0][bin] = aubio_bintofreq (bin, samplerate, win_s);72 fft_freqs->data[0][bin] = aubio_bintofreq (bin, samplerate, (win_s - 1) * 2); 73 73 } 74 74
Note: See TracChangeset
for help on using the changeset viewer.