shithub: aubio

Download patch

ref: 3f90b7ae734d82cfa3fa77779af3607dba98ce7b
parent: 379ef6c79b1d36cd9f8983342729ef0f8ab23e60
author: Paul Brossier <piem@piem.org>
date: Sun Oct 1 11:36:16 EDT 2017

src/spectral/fft.c: remove unrequired scaling, fixing python unit tests

--- a/src/spectral/fft.c
+++ b/src/spectral/fft.c
@@ -375,8 +375,6 @@
     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);