From 3f90b7ae734d82cfa3fa77779af3607dba98ce7b Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 1 Oct 2017 15:36:16 +0200 Subject: [PATCH] src/spectral/fft.c: remove unrequired scaling, fixing python unit tests --- src/spectral/fft.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/spectral/fft.c b/src/spectral/fft.c index 3c81625f..42c591ac 100644 --- a/src/spectral/fft.c +++ b/src/spectral/fft.c @@ -375,8 +375,6 @@ void aubio_fft_do_complex(aubio_fft_t * s, const fvec_t * input, fvec_t * compsp compspec->data[i] = s->complexOut[i].re; compspec->data[s->fft_size - i] = s->complexOut[i].im; } - // apply scaling - aubio_ippsMulC(compspec->data, 1.0 / 2.0, compspec->data, s->fft_size); #else // using OOURA aubio_ooura_rdft(s->winsize, 1, s->in, s->ip, s->w); -- 2.11.0