13
0

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
This commit is contained in:
Robin Gareus 2018-12-23 01:57:16 +01:00
parent bc1a7ec9e5
commit 3917c2e6e1
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -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;