src/effects/pitchshift.c: fix lower pitchscale limit
authorPaul Brossier <piem@piem.org>
Wed, 21 Sep 2016 14:55:34 +0000 (16:55 +0200)
committerPaul Brossier <piem@piem.org>
Wed, 21 Sep 2016 14:55:34 +0000 (16:55 +0200)
src/effects/pitchshift.c

index 48e6ec9..2b2461f 100644 (file)
@@ -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;