Changeset 053495b for src/spectral


Ignore:
Timestamp:
Jul 31, 2015, 10:05:17 PM (9 years ago)
Author:
Paul Brossier <piem@piem.org>
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:
ce6f652
Parents:
a1718fc
Message:

src/*.c: fix some useless float conversion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/specdesc.c

    ra1718fc r053495b  
    119119    onset->data[0] +=
    120120      SQRT (ABS (SQR (o->oldmag->data[j]) + SQR (fftgrain->norm[j])
    121             - 2. * o->oldmag->data[j] * fftgrain->norm[j]
     121            - 2 * o->oldmag->data[j] * fftgrain->norm[j]
    122122            * COS (o->dev1->data[j] - fftgrain->phas[j])));
    123123    /* swap old phase data (need to remember 2 frames behind)*/
Note: See TracChangeset for help on using the changeset viewer.