From 3917c2e6e185d3583eedc8fd8ecd687a66713d39 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 23 Dec 2018 01:57:16 +0100 Subject: [PATCH] Increase pitch-shifting quality a bit OptionPitchHighQuality - Use the highest quality method for pitch shifting. This method has a CPU cost approximately proportional to the required frequency shift --- gtk2_ardour/editor_timefx.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/editor_timefx.cc b/gtk2_ardour/editor_timefx.cc index c623a3fe13..49a7618110 100644 --- a/gtk2_ardour/editor_timefx.cc +++ b/gtk2_ardour/editor_timefx.cc @@ -269,6 +269,8 @@ Editor::time_fx (RegionList& regions, float val, bool pitching) if (longwin) options |= RubberBandStretcher::OptionWindowLong; if (shortwin) options |= RubberBandStretcher::OptionWindowShort; + if (pitching) options |= RubberBandStretcher::OptionPitchHighQuality; + switch (transients) { case NoTransients: options |= RubberBandStretcher::OptionTransientsSmooth;