shithub: aubio

Download patch

ref: 1d0370a45ed42a29684f4076730bdf8f298dfe5b
parent: c31b589dcbb769b010af802724a2303eeca7899a
author: Paul Brossier <piem@piem.org>
date: Wed Apr 27 10:56:07 EDT 2016

src/spectral/phasevoc.c: apply windowing to resynthesized grain

--- a/src/spectral/phasevoc.c
+++ b/src/spectral/phasevoc.c
@@ -65,6 +65,8 @@
   aubio_fft_rdo(pv->fft,fftgrain,pv->synth);
   /* unshift */
   fvec_ishift(pv->synth);
+  /* windowing */
+  fvec_weight(pv->synth, pv->w);
   /* additive synthesis */
   aubio_pvoc_addsynth(pv, synthnew);
 }