From: Paul Brossier Date: Wed, 21 Sep 2016 14:55:34 +0000 (+0200) Subject: src/effects/pitchshift.c: fix lower pitchscale limit X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=ce0dfe9110c379201345fc801372ea841eb689fd;p=aubio.git src/effects/pitchshift.c: fix lower pitchscale limit --- 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;