From: Paul Brossier Date: Sun, 1 Oct 2017 13:36:16 +0000 (+0200) Subject: src/spectral/fft.c: remove unrequired scaling, fixing python unit tests X-Git-Tag: 0.4.6~6^2~8 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=3f90b7ae734d82cfa3fa77779af3607dba98ce7b;p=aubio.git src/spectral/fft.c: remove unrequired scaling, fixing python unit tests --- 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);