- Timestamp:
- Dec 6, 2018, 1:49:25 PM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
- Children:
- dec789b, e45345d
- Parents:
- 0056314 (diff), ed80243 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/spectral/awhitening.c
r0056314 rdd47431 44 44 { 45 45 uint_t i = 0; 46 for (i = 0; i < o->peak_values->length; i++) { 46 uint_t length = MIN(fftgrain->length, o->peak_values->length); 47 for (i = 0; i < length; i++) { 47 48 smpl_t tmp = MAX(o->r_decay * o->peak_values->data[i], o->floor); 48 49 o->peak_values->data[i] = MAX(fftgrain->norm[i], tmp);
Note: See TracChangeset
for help on using the changeset viewer.