Changeset 5cb8abe for src/spectral
- Timestamp:
- Jan 24, 2014, 6:52:38 PM (11 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:
- 082c88b
- Parents:
- 52ca8a3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/spectral/ooura_fft8g.c
r52ca8a3 r5cb8abe 3 3 // - include "aubio_priv.h" (for config.h and types.h) 4 4 // - add missing prototypes 5 // - use COS and SIN macros 5 6 6 7 #include "aubio_priv.h" … … 693 694 w[0] = 1; 694 695 w[1] = 0; 695 w[nwh] = cos(delta * nwh);696 w[nwh] = COS(delta * nwh); 696 697 w[nwh + 1] = w[nwh]; 697 698 if (nwh > 2) { 698 699 for (j = 2; j < nwh; j += 2) { 699 x = cos(delta * j);700 y = sin(delta * j);700 x = COS(delta * j); 701 y = SIN(delta * j); 701 702 w[j] = x; 702 703 w[j + 1] = y;
Note: See TracChangeset
for help on using the changeset viewer.