mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-28 22:28:44 +02:00
Bug 2367 - Residual: Change Speed effect may create spurious clip at end
Also the fix for Change Pitch was not complete as it only worked for mono tracks.
This commit is contained in:
parent
ecba41ad2d
commit
d809745a55
@ -546,7 +546,7 @@ bool EffectChangeSpeed::ProcessOne(WaveTrack * track,
|
||||
{
|
||||
LinearTimeWarper warper { mCurT0, mCurT0, mCurT1, mCurT0 + newLength };
|
||||
track->ClearAndPaste(
|
||||
mCurT0, mCurT1, outputTrack.get(), true, false, &warper);
|
||||
mCurT0, mCurT1, outputTrack.get(), false, true, &warper);
|
||||
}
|
||||
|
||||
if (newLength > mMaxNewLength)
|
||||
|
@ -343,9 +343,9 @@ bool EffectSoundTouch::ProcessStereo(
|
||||
// Take the output tracks and insert in place of the original
|
||||
// sample data.
|
||||
leftTrack->ClearAndPaste(
|
||||
mCurT0, mCurT1, outputLeftTrack.get(), true, false, &warper);
|
||||
mCurT0, mCurT1, outputLeftTrack.get(), false, true, &warper);
|
||||
rightTrack->ClearAndPaste(
|
||||
mCurT0, mCurT1, outputRightTrack.get(), true, false, &warper);
|
||||
mCurT0, mCurT1, outputRightTrack.get(), false, true, &warper);
|
||||
|
||||
// Track the longest result length
|
||||
double newLength = outputLeftTrack->GetEndTime();
|
||||
|
Loading…
x
Reference in New Issue
Block a user