Changeset 152ed05
- Timestamp:
- Sep 5, 2015, 1:53:08 AM (9 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:
- b5d32cb
- Parents:
- 1dd95c7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/spectral/fft.c
r1dd95c7 r152ed05 67 67 #warning "Using aubio in double precision with fftw3 in single precision" 68 68 #endif /* HAVE_AUBIO_DOUBLE */ 69 #define real_t float 69 #define real_t float 70 70 #else /* HAVE_FFTW3F */ 71 71 #if !HAVE_AUBIO_DOUBLE 72 72 #warning "Using aubio in single precision with fftw3 in double precision" 73 73 #endif /* HAVE_AUBIO_DOUBLE */ 74 #define real_t double 74 #define real_t double 75 75 #endif /* HAVE_FFTW3F */ 76 76 … … 96 96 real_t *in, *out; 97 97 fftw_plan pfw, pbw; 98 fft_data_t * specdata; /* complex spectral data */98 fft_data_t * specdata; /* complex spectral data */ 99 99 #else 100 100 #ifdef HAVE_ACCELERATE // using ACCELERATE … … 404 404 uint_t i; 405 405 for (i = 0; i < compspec->length / 2 + 1; i++) { 406 compspec->data[i] = 406 compspec->data[i] = 407 407 spectrum->norm[i]*COS(spectrum->phas[i]); 408 408 }
Note: See TracChangeset
for help on using the changeset viewer.