shithub: aubio

Download patch

ref: 4f56a35f2325cdea1665330545fe2befd1e0577e
parent: cc4f3f755c33fffae98865bf2b45da3a1261f928
author: Paul Brossier <piem@piem.org>
date: Sat Nov 3 12:50:17 EDT 2007

phasevoc.c: do not window the signal again during resynthesis

--- a/src/phasevoc.c
+++ b/src/phasevoc.c
@@ -82,7 +82,6 @@
         /* 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);
 	}