- Timestamp:
- Sep 28, 2016, 1:53:29 AM (8 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:
- 1b57274
- Parents:
- 392ad1c
- git-author:
- Paul Brossier <piem@piem.org> (09/28/16 00:23:24)
- git-committer:
- Paul Brossier <piem@piem.org> (09/28/16 01:53:29)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/spectral/fft.c
r392ad1c rf50c9503 115 115 #else // using OOURA 116 116 // let's use ooura instead 117 extern void rdft(int, int, smpl_t *, int *, smpl_t *);117 extern void aubio_ooura_rdft(int, int, smpl_t *, int *, smpl_t *); 118 118 119 119 #endif /* HAVE_ACCELERATE */ … … 283 283 aubio_vDSP_vsmul(compspec->data, 1, &scale, compspec->data, 1, s->fft_size); 284 284 #else // using OOURA 285 rdft(s->winsize, 1, s->in, s->ip, s->w);285 aubio_ooura_rdft(s->winsize, 1, s->in, s->ip, s->w); 286 286 compspec->data[0] = s->in[0]; 287 287 compspec->data[s->winsize / 2] = s->in[1]; … … 341 341 s->out[2 * i + 1] = - compspec->data[s->winsize - i]; 342 342 } 343 rdft(s->winsize, -1, s->out, s->ip, s->w);343 aubio_ooura_rdft(s->winsize, -1, s->out, s->ip, s->w); 344 344 for (i=0; i < s->winsize; i++) { 345 345 output->data[i] = s->out[i] * scale;
Note: See TracChangeset
for help on using the changeset viewer.