shithub: aubio

Download patch

ref: ce0dfe9110c379201345fc801372ea841eb689fd
parent: d5f538f7c9c4f38691b340ab232ea14629b73717
author: Paul Brossier <piem@piem.org>
date: Wed Sep 21 12:55:34 EDT 2016

src/effects/pitchshift.c: fix lower pitchscale limit

--- a/src/effects/pitchshift.c
+++ b/src/effects/pitchshift.c
@@ -137,7 +137,7 @@
 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;
--