Everything converted to use kiss-fft. Got rid of smallft and fftwrap.

Code much leaner now.
This commit is contained in:
Jean-Marc Valin 2008-02-08 15:09:45 +11:00
parent 6211c90def
commit 7351e286c8
10 changed files with 30 additions and 1684 deletions

View file

@ -111,7 +111,7 @@ void compute_masking(float *X, float *mask, int len, int Fs)
float psd[N];
psd[0] = X[0]*X[0];
for (i=1;i<N;i++)
psd[i] = X[i*2-1]*X[i*2-1] + X[i*2]*X[i*2];
psd[i] = X[i*2]*X[i*2] + X[i*2+1]*X[i*2+1];
/* TODO: Do tone masking */
/* Noise masking */
spreading_func(psd, mask, N, Fs);