projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c31b589
)
src/spectral/phasevoc.c: apply windowing to resynthesized grain
author
Paul Brossier
<piem@piem.org>
Wed, 27 Apr 2016 12:56:07 +0000
(14:56 +0200)
committer
Paul Brossier
<piem@piem.org>
Wed, 27 Apr 2016 12:56:07 +0000
(14:56 +0200)
src/spectral/phasevoc.c
patch
|
blob
|
history
diff --git
a/src/spectral/phasevoc.c
b/src/spectral/phasevoc.c
index
80329db
..
5f1d858
100644
(file)
--- a/
src/spectral/phasevoc.c
+++ b/
src/spectral/phasevoc.c
@@
-65,6
+65,8
@@
void aubio_pvoc_rdo(aubio_pvoc_t *pv,cvec_t * fftgrain, fvec_t * synthnew) {
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);
}