Changeset ed80243
- Timestamp:
- Dec 6, 2018, 1:17:47 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:
- dd47431
- Parents:
- d726526
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/spectral/awhitening.c
rd726526 red80243 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.