Fix timestretch "resample without preserving pitch"

This commit is contained in:
Robin Gareus 2018-07-23 17:20:13 +02:00
parent c2e520fab0
commit b5e67536a3

View File

@ -235,7 +235,7 @@ Editor::time_fx (RegionList& regions, float val, bool pitching)
transients = NoTransients;
precise = true;
preserve_formants = false;
current_timefx->request.pitch_fraction = 1/val;
current_timefx->request.pitch_fraction = 1.0 / current_timefx->request.time_fraction;
shortwin = true;
// peaklock = false;
break;