From ce0dfe9110c379201345fc801372ea841eb689fd Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Wed, 21 Sep 2016 16:55:34 +0200 Subject: [PATCH] src/effects/pitchshift.c: fix lower pitchscale limit --- src/effects/pitchshift.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/effects/pitchshift.c b/src/effects/pitchshift.c index 48e6ec96..2b2461fe 100644 --- a/src/effects/pitchshift.c +++ b/src/effects/pitchshift.c @@ -137,7 +137,7 @@ uint_t aubio_pitchshift_get_latency (aubio_pitchshift_t * p) { uint_t aubio_pitchshift_set_pitchscale (aubio_pitchshift_t * p, smpl_t pitchscale) { - if (pitchscale >= 0.0625 && pitchscale <= 4.) { + if (pitchscale >= 0.25 && pitchscale <= 4.) { p->pitchscale = pitchscale; rubberband_set_pitch_scale(p->rb, p->pitchscale); return AUBIO_OK; -- 2.11.0