From 29e8f5211d56083296a7cc660f8fb37278e97491 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 17 Sep 2016 03:32:32 +0200 Subject: [PATCH] src/effects/pitchshift.c: clean-up options, set to default --- src/effects/pitchshift.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/effects/pitchshift.c b/src/effects/pitchshift.c index ae1d6ab5..f94c474c 100644 --- a/src/effects/pitchshift.c +++ b/src/effects/pitchshift.c @@ -55,8 +55,12 @@ new_aubio_pitchshift (const char_t * mode, p->timeratio = 1.; p->pitchscale = pitchscale; - p->rboptions = RubberBandOptionProcessRealTime || RubberBandOptionPitchHighConsistency; - p->rboptions = p->rboptions || RubberBandOptionTransientsCrisp; + p->rboptions = RubberBandOptionProcessRealTime; + //p->rboptions |= RubberBandOptionTransientsCrisp; + //p->rboptions |= RubberBandOptionWindowStandard; + //p->rboptions |= RubberBandOptionSmoothingOff; + //p->rboptions |= RubberBandOptionFormantShifted; + //p->rboptions |= RubberBandOptionPitchHighConsistency; p->rb = rubberband_new(samplerate, 1, p->rboptions, p->timeratio, p->pitchscale); rubberband_set_max_process_size(p->rb, p->hopsize * 4); //rubberband_set_debug_level(p->rb, 10); -- 2.11.0