diff options
author | Robin Gareus <robin@gareus.org> | 2018-12-23 01:57:16 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-12-23 01:58:19 +0100 |
commit | 3917c2e6e185d3583eedc8fd8ecd687a66713d39 (patch) | |
tree | 67be47490eeb8c2b3b9ff87a29759066216914c6 /gtk2_ardour | |
parent | bc1a7ec9e59e03dc630cbfb2e702ed0fe5233516 (diff) |
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
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/editor_timefx.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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; |