Skip to content
12notez

How to Change Pitch Without Changing Speed

Shift a song up or down by semitones and cents while its length stays the same, and see what changes when you slow it down instead.

·By Sudeep Jain

To change a song's pitch without changing its speed, use a pitch shifter that stretches the audio in time and resamples it by matching amounts, so the length ends up where it started. The pitch changer does that in your browser: set a shift in semitones, preview it, and download a file as long as the original. Below, one backing track goes down three semitones for a singer, and then the same track is slowed down to show the other kind of change.

Semitones and cents

A semitone is the step between two neighboring piano keys, black keys included. Twelve semitones make an octave, which doubles the frequency. A cent is one hundredth of a semitone.

Semitones change the key. Cents correct the tuning. The tool has a slider for each: Pitch runs from -12 to +12 semitones, and Fine tune from -100 to +100 cents.

The example: a backing track that sits too high

The track is in A major and the melody runs from E3 to E4. Your comfortable top note is D4. If you do not know yours, the vocal range finder measures it.

Count down from the melody's top note: E4 to D#4 is one semitone, D4 is two, C#4 is three. Two semitones would put the top note exactly on your limit. Three leaves a semitone of room.

Now check the other end. The lowest note, E3, moves to C#3, and that has to be in your range too.

Name the new key the same way. A down three semitones is G#, G, F#. The track will be in F# major.

  1. Open the pitch changer and choose the file. Any audio your browser can play works, usually MP3, WAV, M4A, FLAC and OGG. The file is decoded in the tab and is not uploaded.
  2. Set Pitch to -3. Leave Fine tune at 0 and Speed at 100. The line under the sliders reads "Total shift: -3 semitones" and "Speed: 100%".
  3. Under Key helper, set Song key to A and Mode to Major. The page answers "New key: F# major". If you do not know the song's key, the key finder reads it from the file.
  4. Press Preview. It renders the first 30 seconds with your settings. After any change, press "Update preview".
  5. Choose a format and download. The whole file is processed, and the result is the same length as the original.

Why the length stays the same

Play a recording slower and its pitch drops. Play it faster and the pitch rises. A pitch shifter uses that on purpose and then undoes the change in length.

The tool runs SoundTouch, an open-source time-stretching library. Its time-stretch cuts the audio into short overlapping slices and re-joins them closer together or further apart, which changes the duration and leaves the pitch alone. A resample then brings the audio back to its original duration, and that resample is what moves the pitch.

What a large shift does to the sound

Three semitones is a small shift, and small shifts sound the cleanest. Two things get worse as the number grows.

The slices stop joining cleanly. You hear it first on voices and sustained notes, as a faint echo.

Everything in the track moves together, including the resonances that make a voice sound like one particular person. Shift a vocal up by several semitones and it turns thin and cartoonish, the effect people call chipmunk. Shift it far down and it sounds like a much larger person. The voice changer uses both on purpose: its Chipmunk preset shifts a voice up 9 semitones and its Giant preset shifts it down 9 and adds a room reverb. Drums move too: a snare shifted down sounds like a deeper drum.

So take the short route. Any key is at most six semitones away. To get from A to E you could go up seven or down five, and down five is the smaller shift.

The same track, slowed down instead

The pitch changer has a third slider, "Speed (pitch kept)", from 50% to 200%. It changes the length and holds the pitch, which suits practicing a fast passage at its written pitch. A 4:00 track at 80% lasts 5:00.

The other behavior, where pitch and speed move together like a record turning slowly, is in the slowed and reverb generator with Keep pitch switched off. There the speed change is a plain resample. At 80% speed every frequency is multiplied by 0.8, so a 440 Hz tone comes out at 352 Hz. The page prints the result under the Speed slider: "Pitch follows the speed: -3.9 semitones".

That number matters for the example. 80% is close to four semitones down but not on it. The slowed track lands about 14 cents sharp of F major, between keys, and an instrument played along with it sounds slightly out of tune. Cents and semitones explained works out that figure and others like it. For a slowed version you can play along with, use 84%, which the page reads as -3.0 semitones, or 89% for -2.0. The sample pitch calculator works out the semitones, the new length and the new key for any tempo change.

Slowed plus reverb

The "Slowed + reverb" preset sets Speed to 80% with Keep pitch off, Room size to 3 seconds, Reverb mix to 35% and Bass boost to 3 dB. The track plays lower and slower and seems to sit in a large room. The reverb needs time to fade after the last note, so the tool adds the room size to the end, and the 4:00 track comes out at about 5:03.

The Nightcore preset is the mirror image: 125% with the pitch following, which is 3.9 semitones up, and no reverb. Slowed + reverb, nightcore and 8D audio explained covers each preset.

Speed on that page runs from 50% to 150%, and the download is always a 16-bit WAV. The pitch changer offers more formats: MP3 at 320, 192 or 128 kbps, 16-bit WAV, 16-bit FLAC, and OGG (Opus) in browsers that can encode it.

When the track is between keys

Some recordings sit a little sharp or flat of standard pitch, and a slowed edit almost always does. Fine tune corrects it. To pull the 80% track from earlier onto F major, shift it down by 14 cents.

When the total shift is not a whole number of semitones, the Key helper says so. Next to the new key it adds how many cents sharp or flat of that key the song sits.

Checks before you download

  • Count the shift from the melody's top note, then again from the key name. The two counts agree.
  • Check the lowest note after the shift, not only the highest.
  • If the shift is more than six semitones, go the other way round.
  • The preview covers the first 30 seconds. If the intro is sparse, listen to a busy section of the downloaded file before you use it.
  • In the pitch changer, Speed reads 100% unless you want a different length.
  • For a slowed edit, Keep pitch is off if you want the lower pitch, and the result is longer: length divided by speed.
  • If the file will be edited again, download WAV or FLAC. MP3 loses a little each time it is saved again.
  • Use audio you have the rights to. A shifted copy of someone else's recording is still their work.

Sources

More guides