Talk:Change Speed

=Material archived here from Wiki page - may be useful=

Change Speed basics

 * The Change Speed effect operates on a "percent change" basis. Use the slider or enter the desired speed change.


 * Length, pitch and frequency content are all affected when you use Change Speed. When you slow a track down, all its frequencies become lower, and when you speed it up, they all become higher. It's just like when you change the speed of a cassette or gramophone record.
 * A 100% speed change is a ratio of 2. It halves the length of the track (makes it 50% as long), and doubles the frequency (which corresponds to raising the pitch by an octave).
 * A -50% speed change is a ratio of 0.5. It doubles the length of the track (makes it 200% of the original length), and halves the frequency (which corresponds to lowering the pitch by an octave).
 * A 50% speed change is a ratio of 1.5. It reduces the track length to 66.67% (to two decimal places of accuracy) as long, raising the pitch by a fifth (7 semitones).


 * Audacity has presets for changes to and from common speeds for gramophone records.


 * Technically, Change Speed resamples the audio so that the sample rate of the length- and pitch-changed audio remains the same as before. Resampling is required because when speeding up, the samples are "squashed" into a shorter time. This would otherwise increase the sample rate because there are more samples per second of audio. So Audacity downsamples (discarding some samples) so that the sample rate of the track is brought back to its original rate. When slowing down, the samples are "stretched" to a longer duration. This would otherwise decrease the sample rate, so Audacity upsamples (adding/interpolating extra samples) to retain the same rate as before. Resampling is very slightly lossy. Generally you would never notice this, except if you speed up then change the speed back to the original speed by slowing it down again. This would cause a loss of high frequencies as explained in Undoing a speed change below.

Calculating speed changes to produce length or pitch changes
You can calculate the speed change needed to produce a required length or a required change in pitch as follows:

Length change
For example, if your original length was 3 minutes 21.730 seconds and you want to speed it up so that the length reduces to 3 minutes 15 seconds, the calculation is:

So enter 3.4513 in Percent Change.

Let's assume now you have a 3 minute 15 seconds track and you want to slow it down so that it's 3 minutes 25 seconds long:

So enter -4.878 in Percent Change.

Pitch change
Sometimes you may want to slow down or speed up to produce a particular change in pitch.

^ means "to the power of" (most calculators will have this function). Just use a negative semitones change if you are moving down in pitch. So for example, if you have a selection you want to speed up so the pitch goes up 5 semitones:

So enter 33.484016 in Percent Change.

Now let's say we want to slow down a selection to bring the pitch down a fifth (or 7 semitones) :

So enter -33.258 in Percent Change.

Undoing a speed change
As Change Speed is slightly lossy, it's best if possible to use if you want to undo the speed change, rather than apply a further Change Speed effect. However, Audacity's Undo is stepwise, so any edits made since the speed change will be lost if you undo the change.

If you need to undo the speed change by applying an opposite speed change, note that this needs more calculation than just applying the same percentage change in the opposite direction. For example if you applied a 50% speed slow down to make the track twice as long, you need the reciprocal of the change (1/0.5 = 2) or in other words a 100% increase to bring the track back to original speed. It's often simplest to just to recalculate using the formulas above (or use Change Tempo or Change Pitch to make the calculation for you). Note that because slowing down a track with Change Speed makes all its frequencies lower, it's not a good idea to use Change Speed to increase the speed then Change Speed again to slow it back down. If the track has a sample rate of 44100 Hz, the useful bandwidth before the slowing down is from about 20 Hz to 20000 Hz (theoretically up to 22050 Hz). This comes about because a given sample rate can only contain frequencies up to half that rate. If you slowed down by 50% to undo a speed up of 100%, the useful upper frequency limit comes down to about 10000 Hz, with any sound above 11025 Hz totally lost. The only way you would not lose high frequencies in this situation would be if the audio did not contain frequencies above 11025 Hz in the first place (this might be the case with speech).

Alternative ways to change speed, length and pitch together
 Set Rate

Set Rate is in the Track Drop-Down Menu (click in the track name to left of the waveform). Unlike Change Speed, this changes the sample rate of the track - choosing the new sample rate determines the new length and pitch. Increasing the sample rate squeezes the existing samples together into a shorter time, so playback will be faster and higher pitch. Decreasing the sample rate spreads the existing samples out over a longer time, so playback will be slower and lower pitch.

For example, to double the track length and lower pitch by an octave you would choose a rate half that of the current track rate shown under the track name; to halve the length and raise pitch by an octave, you would choose a rate double that of the current track rate.

Unlike Change Speed, changing the rate does not resample the track, so is completely lossless - the samples are just moved to different positions along the Timeline. Set Rate can thus be completely reversed at any time, even if you speed up the track by choosing a higher rate then slow it down to original speed by choosing the original rate. This is because when you increase the sample rate you always proportionally increase the higher frequencies that can be carried, so lose none by reducing the rate back to the original. When you resample upwards, you cannot increase the higher frequencies in the audio beyond half the sample rate of the track, but still lose the higher frequencies when you resample downwards.

 Play-at-Speed

Audacity has a "Play-at-Speed" feature (not available in legacy Audacity 1.2.x versions) located at Transcription Toolbar. Move the slider to choose a slower or faster speed than normal, then click the green triangle button to left of the slider to play at that speed.

The benefits of changing speed with Transcription Toobar are that you don't have to change the audio data in the track by running an effect, or worry about reverting the change if you want to export the project at its original speed.