From: Paul Brossier Date: Tue, 16 Feb 2016 16:48:22 +0000 (+0100) Subject: src/spectral/phasevoc.c: use ishift for perfect reconstruction with odd length window X-Git-Tag: 0.4.4~300^2~337 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=7cdabbe183f6b66bc8626db5b383aa418a496321;p=aubio.git src/spectral/phasevoc.c: use ishift for perfect reconstruction with odd length window --- diff --git a/src/spectral/phasevoc.c b/src/spectral/phasevoc.c index 4fdbd789..150c3595 100644 --- a/src/spectral/phasevoc.c +++ b/src/spectral/phasevoc.c @@ -64,7 +64,7 @@ void aubio_pvoc_rdo(aubio_pvoc_t *pv,cvec_t * fftgrain, fvec_t * synthnew) { /* calculate rfft */ aubio_fft_rdo(pv->fft,fftgrain,pv->synth); /* unshift */ - fvec_shift(pv->synth); + fvec_ishift(pv->synth); /* additive synthesis */ aubio_pvoc_addsynth(pv, synthnew); }