Changeset dd47431 for src


Ignore:
Timestamp:
Dec 6, 2018, 1:49:25 PM (20 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/timestretch, 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.
Message:

Merge branch 'fix/awhitening'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/awhitening.c

    r0056314 rdd47431  
    4444{
    4545  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++) {
    4748    smpl_t tmp = MAX(o->r_decay * o->peak_values->data[i], o->floor);
    4849    o->peak_values->data[i] = MAX(fftgrain->norm[i], tmp);
Note: See TracChangeset for help on using the changeset viewer.