Changeset 212da72 for src/spectral/fft.c


Ignore:
Timestamp:
Dec 3, 2007, 10:57:52 AM (17 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:
45f1f06
Parents:
dddf1f5 (diff), 6913434 (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 from main branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/fft.c

    rdddf1f5 r212da72  
    155155    spectrum->phas[i][0] = 0.;
    156156    for (j=1; j < spectrum->length - 1; j++) {
     157      if (compspec->data[i][j] == 0.) spectrum->phas[i][j] = 0;
     158      else
    157159      spectrum->phas[i][j] = atan2f(compspec->data[i][compspec->length-j],
    158160          compspec->data[i][j]);
Note: See TracChangeset for help on using the changeset viewer.