Changeset a206edf for src/spectral
- Timestamp:
- Sep 28, 2016, 12:23:24 AM (8 years ago)
- Branches:
- feature/cnn, feature/crepe, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch
- Children:
- 68586d4
- Parents:
- b1c0770
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/spectral/fft.c
rb1c0770 ra206edf 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.