projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5f538f
)
src/effects/pitchshift.c: fix lower pitchscale limit
author
Paul Brossier
<piem@piem.org>
Wed, 21 Sep 2016 14:55:34 +0000
(16:55 +0200)
committer
Paul Brossier
<piem@piem.org>
Wed, 21 Sep 2016 14:55:34 +0000
(16:55 +0200)
src/effects/pitchshift.c
patch
|
blob
|
history
diff --git
a/src/effects/pitchshift.c
b/src/effects/pitchshift.c
index
48e6ec9
..
2b2461f
100644
(file)
--- 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.
06
25 && pitchscale <= 4.) {
+ if (pitchscale >= 0.25 && pitchscale <= 4.) {
p->pitchscale = pitchscale;
rubberband_set_pitch_scale(p->rb, p->pitchscale);
return AUBIO_OK;