Online Pitch Shifter & Time Stretcher

Change the pitch or speed of any audio file directly in your browser. Transpose songs to a different key, slow down passages to learn them, or speed up tracks for practice. Download the result as a WAV file.

Drop an audio file here

Supports WAV, MP3, OGG, FLAC, AAC, and other browser-supported formats

Pitch Shifting and Time Stretching: The Complete Guide for Musicians and Producers

Pitch shifting and time stretching are two of the most useful audio processing techniques available to musicians, producers, and audio engineers. Pitch shifting changes the musical key of an audio recording by moving all frequencies up or down by a specified interval, measured in semitones. Time stretching changes the playback speed of a recording, making it faster or slower. Our free online tool lets you do both directly in your browser. Load any audio file, adjust the pitch and speed controls, preview the result in real time, and download the processed audio as a high-quality WAV file. Everything runs locally on your device using the Web Audio API. No audio is uploaded to any server, so your files remain completely private.

How Pitch Shifting Works

Pitch shifting changes the perceived musical pitch of audio without necessarily changing its duration (though in basic implementations, pitch and speed are linked). The pitch of a sound is determined by its fundamental frequency. When you shift pitch up by one semitone, you multiply the frequency by approximately 1.0595 (the twelfth root of 2). When you shift up by a full octave (12 semitones), you double the frequency. Shifting down reverses this relationship, dividing frequencies by the same ratios.

Our tool uses the Web Audio API's built-in playback rate control to implement pitch shifting. When you shift up by a number of semitones, the playback rate increases by the corresponding factor, which raises the pitch. When you shift down, the playback rate decreases. This is the same principle behind playing a vinyl record at the wrong speed or a tape machine at a different speed. The result sounds natural because all harmonics and overtones shift by the same ratio, preserving the timbral relationships within the sound.

How Time Stretching Works

Time stretching changes the duration of audio without changing its pitch. In professional DAWs and specialized software, this is achieved using algorithms like phase vocoders, granular synthesis, or wavelet-based processing. These algorithms break the audio into small overlapping segments, reposition them in time, and crossfade between them to create a smooth result at the new speed.

Our browser-based tool uses the Web Audio API's playback rate control, which adjusts both speed and pitch together. This means that when you slow down playback, the pitch drops, and when you speed up, the pitch rises. While this is different from independent time stretching, it is still extremely useful for many practical applications, and we provide both a pitch control and a speed control so you can dial in the exact combination you need.

Practical Uses for Musicians

Pitch shifting and speed control are invaluable tools for musicians at every level. Here are some of the most common applications:

  • Learning songs by ear: Slow down a recording to half speed to hear fast passages clearly. This makes it much easier to pick out individual notes, chords, and rhythmic patterns in complex music. Many professional musicians credit this technique as a key part of their development.
  • Transposing to a different key: If a song is in a key that does not suit your voice or your instrument's range, shift the pitch up or down by the appropriate number of semitones. Singers often need to transpose backing tracks to match their comfortable range.
  • Practicing at different tempos: Start by practicing a difficult passage at a slow speed, then gradually increase the tempo as you build accuracy and muscle memory. This progressive speed training is one of the most effective ways to master technically challenging material.
  • Creating harmonies: Shift a vocal or instrumental recording up or down by specific intervals (thirds, fifths, octaves) to create harmony parts. While the quality is not as refined as singing actual harmonies, it is useful for sketching arrangement ideas.
  • Sound design: Pitch shifting is a fundamental sound design technique. Shifting sounds down creates deep, ominous textures. Shifting up creates bright, chipmunk- like effects. Extreme pitch shifts can transform familiar sounds into completely unrecognizable textures for film, game audio, and electronic music production.
  • DJ preparation: DJs sometimes need to match the tempo or key of different tracks for smooth transitions. Adjusting pitch and speed helps align tracks that were recorded at different tempos or in incompatible keys.

Understanding Semitones and Musical Intervals

The pitch control in our tool is measured in semitones, which is the standard unit for musical intervals. A semitone is the smallest interval in Western music's 12-tone equal temperament system. It corresponds to the distance between any two adjacent keys on a piano, including black keys. Here are some common intervals and their semitone values:

  • 1 semitone: Minor second (C to C#)
  • 2 semitones: Major second / whole step (C to D)
  • 3 semitones: Minor third (C to Eb)
  • 4 semitones: Major third (C to E)
  • 5 semitones: Perfect fourth (C to F)
  • 7 semitones: Perfect fifth (C to G)
  • 12 semitones: Octave (C to the next C)

Our tool supports shifting from -12 to +12 semitones, which covers a full octave in either direction. This range is sufficient for virtually all practical transposition needs. The quick presets make it easy to jump to common intervals like octaves, fifths, and fourths without needing to remember the exact semitone values.

Speed Control and Its Relationship to Pitch

The speed control adjusts the playback rate of the audio from 0.25x (quarter speed) to 2.0x (double speed). Because the Web Audio API links speed and pitch through the playback rate, changing the speed also changes the pitch. At half speed (0.5x), the pitch drops by one octave. At double speed (2.0x), the pitch rises by one octave. This relationship is consistent and predictable, which makes it easy to calculate the combined effect of your pitch and speed settings.

The effective playback rate shown in the info panel represents the combined effect of both controls. If you set the pitch to +12 semitones (which doubles the rate) and the speed to 0.5x (which halves the rate), the effective rate is 1.0x, meaning the audio plays at its original speed but shifted up by one octave in pitch. This kind of combined control gives you flexibility to achieve results that would not be possible with either control alone.

Tips for Getting the Best Results

To get the best results from pitch shifting and time stretching, start with the highest quality source material available. WAV or FLAC files will produce cleaner results than heavily compressed MP3 files because they contain more audio information for the algorithm to work with. When shifting pitch by large amounts (more than 4 or 5 semitones), the audio will naturally start to sound less natural due to the significant change in frequency relationships. This is expected behavior and is inherent to the technique.

For learning purposes, try starting at 0.75x speed rather than jumping straight to 0.5x. Three-quarter speed is slow enough to hear details more clearly but fast enough to maintain the musical feel of the passage. As you become comfortable with the material at 0.75x, increase to 0.85x, then 0.90x, and finally 1.0x. This progressive approach builds both accuracy and confidence.

Downloading and Using Processed Audio

Once you have found the pitch and speed settings you want, click the Download WAV button to render the processed audio as a high-quality WAV file. The download uses offline audio rendering to process the entire file at full quality, which may take a moment for longer recordings. The resulting WAV file can be imported into any DAW or audio editor for further work, or played back in any media player that supports the WAV format.

Our pitch shifter pairs well with the other tools on Tools 4 Music. Use the Key and BPM Finder to identify the key and tempo of a track before transposing it. The Frequency Calculator can help you understand the relationship between notes and frequencies. The Online Tuner lets you verify that your instrument matches the transposed key. And the Audio Recorder can capture your practice session so you can listen back and evaluate your progress.

From the Blog

View All