Changing speed by exact samples

I have an official instrumental + CD ripped version of a song at extremely similar speeds (down to milliseconds)
It’s taken time but I have the exact sample of both tracks marked for start and finish. Now I’m ready to resize the longer track down to the exact length of the short track.

I want the exact samples to be 005,988,408 like the other one, but it comes out as 005,988,395 no matter what I do. Resizing the OTHER track too doesn’t work trying to get it from 408 to 395. Any help? It locks me into preset ones.

Which exact version of Audacity are you using? (look in “Help > About Audacity”).
Which version of Windows?

I think that you may be running into a bug, but to confirm that, and then be able to log the bug so that it can be fixed, I need the version number.
As a workaround, running this code in the Nyquist Prompt effect ( should produce the required result:

;restoresplits 0
(setf new-length 5988408)
(force-srate (/ (* new-length *sound-srate*) len) *track*)

I’m running 2.1.1 audacity on Windows 8.1. I will try your solution and will report back with results!

It is a bug in this version of Audacity. Unfortunately it is unlikely to be fixed in 2.1.2 because we are so close to the scheduled release date, but it should be fixed in the following version.

The problem is that the speed change is being rounded to 3 decimal places, and because your required change is so small, it is being rounded to zero.
Is this just a one-off job that you’re doing, or is this going to be a problem for you?

I’ll be (attempting) this with multiple tracks, but the fix isn’t anything that would be an issue. I’m fine with using the prompt. It worked also, thanks! I’m not going to need it very much but it will be useful