phasevoc.c: do not window the signal again during resynthesis
authorPaul Brossier <piem@piem.org>
Sat, 3 Nov 2007 15:50:17 +0000 (16:50 +0100)
committerPaul Brossier <piem@piem.org>
Sat, 3 Nov 2007 15:50:17 +0000 (16:50 +0100)
src/phasevoc.c

index 8eeaef8bcbdb945f126011e258123f7be72fd5f2..d879ef38bb7dd0163fa30636f77e5209108a54db 100644 (file)
@@ -82,7 +82,6 @@ void aubio_pvoc_rdo(aubio_pvoc_t *pv,cvec_t * fftgrain, fvec_t * synthnew) {
         /* unshift */
         vec_shift(pv->synth);
        for (i=0; i<pv->channels; i++) {
-               for (j=0; j<pv->win_s; j++) pv->synth->data[i][j] *= pv->w[j];
                aubio_pvoc_addsynth(pv->synth->data[i],pv->synthold->data[i],
                                synthnew->data[i],pv->win_s,pv->hop_s);
        }