From 546d24e0269e52880afd223f1cc07189ad8a9729 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Wed, 21 Sep 2016 15:55:46 +0200 Subject: [PATCH] src/aubioshift~.c: set initial transposition --- src/aubioshift~.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aubioshift~.c b/src/aubioshift~.c index 59030d4..29bd67b 100644 --- a/src/aubioshift~.c +++ b/src/aubioshift~.c @@ -77,8 +77,8 @@ static void *aubioshift_tilde_new (t_floatarg f, t_symbol *s) x->input = (fvec_t *)new_fvec(x->hopsize); x->output = (fvec_t *)new_fvec(x->hopsize); - x->pitchshift = (aubio_pitchshift_t *)new_aubio_pitchshift(s->s_name, 1., - x->hopsize, (uint_t)sys_getsr()); + x->pitchshift = (aubio_pitchshift_t *)new_aubio_pitchshift(s->s_name, + x->transpose, x->hopsize, (uint_t)sys_getsr()); if (x->pitchshift == NULL) return NULL; aubio_pitchshift_set_transpose(x->pitchshift, x->transpose); -- 2.11.0