diff --git a/app/src/main/cpp/PlaybackEngine.cpp b/app/src/main/cpp/PlaybackEngine.cpp index e292615..f5d4623 100644 --- a/app/src/main/cpp/PlaybackEngine.cpp +++ b/app/src/main/cpp/PlaybackEngine.cpp @@ -233,7 +233,7 @@ void PlaybackEngine::musicFeedThread() { if(haveTimeRatio.load()) { double ratio = timeRatio.load(); stretcher.setTimeRatio(ratio); - stretcher.setPitchScale(ratio); + stretcher.setPitchScale(1.0 / ratio); haveTimeRatio.store(false); }