- Timestamp:
- Oct 11, 2009, 12:37:01 PM (15 years ago)
- 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:
- 8979752
- Parents:
- 76fc277
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/spectral/fft.c
r76fc277 r2fde783 186 186 spectrum->phas[i][0] = 0.; 187 187 for (j=1; j < spectrum->length - 1; j++) { 188 if (compspec->data[i][j] == 0.) spectrum->phas[i][j] = 0; 189 else 190 spectrum->phas[i][j] = atan2f(compspec->data[i][compspec->length-j], 188 spectrum->phas[i][j] = ATAN2(compspec->data[i][compspec->length-j], 191 189 compspec->data[i][j]); 192 190 }
Note: See TracChangeset
for help on using the changeset viewer.