From cd7d733968b73ddb4117a6ea1a5fcaf590b0988f Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 24 Sep 2009 18:16:02 +0200 Subject: [PATCH] src/spectral/phasevoc.c: do no reset hop size, just leave a commented warning --- src/spectral/phasevoc.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/spectral/phasevoc.c b/src/spectral/phasevoc.c index d7ee1689..08019519 100644 --- a/src/spectral/phasevoc.c +++ b/src/spectral/phasevoc.c @@ -76,11 +76,9 @@ void aubio_pvoc_rdo(aubio_pvoc_t *pv,cvec_t * fftgrain, fvec_t * synthnew) { aubio_pvoc_t * new_aubio_pvoc (uint_t win_s, uint_t hop_s, uint_t channels) { aubio_pvoc_t * pv = AUBIO_NEW(aubio_pvoc_t); - if (win_s < 2*hop_s) { - AUBIO_ERR("Hop size bigger than half the window size!\n"); - AUBIO_ERR("Resetting hop size to half the window size.\n"); - hop_s = win_s / 2; - } + /* if (win_s < 2*hop_s) { + AUBIO_WRN("Hop size bigger than half the window size!\n"); + } */ if (hop_s < 1) { AUBIO_ERR("Hop size is smaller than 1!\n"); -- 2.26.2