Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. Audio Processing
  3. Audio Pitch Shifter
Add to favorites

Audio Pitch Shifter

Shift pitch by semitones and cents with WSOLA, keeping the length or changing it like tape speed. Measures its own output and reports the error in cents: a perfect fifth lands within 0.5 cents.

Audio processed on your deviceMore audio processingJump to full guide

Related reading

  • Time-Stretching Audio Without Changing Its Pitch12 min read

Initializing in your browser…

You might also like

Tone Generator

Generate band-limited test tones, sweeps and noise from 20 Hz to 20 kHz. Up to eight voices, note-name entry, binaural beats, and WAV export rendered from the same oscillators you hear.

Text to Speech

Read text aloud with any voice your system provides, with sentence-by-sentence progress that works even for voices that report no word boundaries, and a reading-time estimate calibrated from the voice you pick.

Audio Waveform Generator

Turn audio into a waveform image in five styles, exported as PNG or real vector SVG. Reads every channel, shows true level in dBFS, and redraws correctly at any size.

Audio Pitch Shifter: a worked example

A backing track is a perfect fifth too low and must come up without getting shorter or slower.

Input

tone-440.wav (4.0000 s) - +7 semitones - keep length
What Audio Pitch Shifter produces

Output

659.17 Hz measured against a 659.26 Hz target: -0.22 cents, still 4.0000 s

WSOLA stretches by the pitch ratio and a resample of the reciprocal amount puts the length back, so pitch moves and duration does not. The figure above is measured out of the exported file, not predicted: the tool runs its own Fourier analysis over the result and shows the error in cents. The grain loop this replaced put the same request 99.8 cents sharp and 15 dB down.

About the Audio Pitch Shifter

Shift pitch up or down in semitone and cent steps, keeping the original length or letting it move like tape speed. The tool then analyses what it produced with a separate FFT and shows the measured interval next to the one you asked for, so the accuracy is on screen rather than assumed. Measured end to end on a 440 Hz reference, a perfect fifth lands within 0.5 cents with the duration unchanged to the sample.

How to use

  1. 1Upload your audio file
  2. 2Set the shift in semitones with a quick interval preset or the slider
  3. 3Fine-tune with cents (100 cents = 1 semitone) if needed
  4. 4Choose Keep length to move pitch only, or Vari-speed to move pitch and length together
  5. 5Check the Measured Result panel, then preview and download a WAV or MP3

Key features

  • WSOLA time stretch plus reciprocal resample, accurate to 0.58 cents worst case across an octave each way
  • Length held to within a thousandth of a percent in keep-length mode
  • Vari-speed mode that resamples properly and keeps the source sample rate
  • Measured Result panel that analyses the output and reports the error in cents
  • Preview plays the processed audio, so it matches the exported file
  • Shift range of plus or minus 12 semitones with plus or minus 50 cents of fine tuning
  • Runs in a Web Worker with a progress bar and a working Cancel button
  • Every channel processed, so stereo material keeps both sides
  • Export 16-bit WAV or 192 kbps MP3 at the original sample rate
  • Quick interval presets and a musical-interval reference

When to use it

  • Key transposition

    Move a backing track to a key that suits your vocal range without changing the tempo.

  • Creative sound design

    Pitch vocals down for a deep effect or up for a chipmunk-style result.

  • Instrument tuning correction

    Nudge a recording that is slightly sharp or flat back into tune using cents, and confirm the move on the measured readout.

  • Harmony sketching

    Duplicate a line and shift the copy by a third or fifth to rough out a harmony part.

How it works

Keeping the length while moving the pitch is done with WSOLA (waveform similarity overlap-add) followed by a resample of the reciprocal amount. The stretch slides each output frame to the position where it best continues the previous one, which is what keeps periodic material such as a sung note or a bowed string from developing a stutter, and the resample then puts the duration back where it started. Both halves come from the same engine the Voice Changer uses. Across ten intervals from a full octave down to a full octave up, the worst error is 0.58 cents with the length held to within a thousandth of a percent; driven through the browser and measured back out of the exported file, a perfect fifth reads -0.22 cents and an octave +0.47 cents.

This replaced a grain loop that advanced its read and write pointers by the same hop, so the four overlapping grains covering any output sample read the source at four different phases and largely cancelled. The damage was not subtle: asking for +7 semitones produced 698.4 Hz from a 440 Hz source instead of 659.3 Hz, which is 99.8 cents sharp, nearly a whole semitone wrong, 15 dB quieter than the input, and with more noise than signal. Asking for -5 landed 122.8 cents sharp. The vari-speed path had a separate fault: it relabelled the buffer sample rate rather than resampling the audio, then handed the encoder a rate no MP3 file can carry, so the exported file came back declaring 48 kHz for a 44.1 kHz source.

Vari-speed mode is now a genuine cubic resample that leaves the sample rate alone, so pitching up shortens the file and pitching down lengthens it, exactly as a tape machine would, and the file still declares the rate it actually has. The preview plays the processed audio in both modes, so what you hear before exporting is what the file contains; the old preview always used the browser playbackRate, which meant the length-preserving mode sounded like vari-speed right up until you downloaded something different. The stretch runs in a Web Worker with a progress bar and a Cancel button, since it is a full pass over every sample: a three minute stereo file takes a few seconds and the tab stays responsive throughout.

The Measured Result panel is the check. After each render the output is analysed by a short-time Fourier transform that knows nothing about how the audio was made, and the panel reports the source pitch, the target, what was actually measured, and the error in cents. On clearly pitched material that number should sit within a cent or two of zero. On dense or percussive material the strongest partial is not always the note, and the panel says so rather than pretending otherwise. There is still no formant correction, so large shifts move vocal-tract resonances with the pitch and take on the familiar chipmunk or deep character.

Frequently asked questions

What is the difference between semitones and cents?

A semitone is one piano-key step. A cent is one hundredth of a semitone, used for fine pitch adjustments and tuning corrections. The tool shifts by both at once, so +7 semitones and -20 cents is a slightly flat perfect fifth.

How do I know the shift is accurate?

The Measured Result panel analyses the rendered audio with a Fourier transform that is independent of the shifting code, then reports the interval it found against the interval you asked for. On a clear tone the error should be a fraction of a cent. Measured through the browser on a 440 Hz reference, a perfect fifth reads -0.22 cents and an octave +0.47 cents.

Why does a large pitch shift sound unnatural?

There is no formant correction, so the vocal-tract resonances move with the pitch and voices take on the usual chipmunk or deep character. The pitch itself stays accurate; it is the timbre that changes. Keep shifts modest for the most natural-sounding vocals.

Does pitch shifting change the length of my file?

Only if you choose it. Keep length holds the duration to within a thousandth of a percent and moves the pitch alone. Vari-speed resamples like a tape machine, so the clip gets shorter when pitched up and longer when pitched down, and the readout shows both lengths before you export.

Does the preview match the download?

Yes. The preview plays the same processed buffer that gets exported, in both modes. Only the export format differs, and WAV is a bit-for-bit write of what you heard.

Related tools and how they differ

  • Audio Speed Changer: Changes tempo without moving the pitch, or with it; use it to speed up podcasts or slow a passage down for transcription.
  • Voice Changer & Effects: Same pitch engine plus effects, presets and independent speed, aimed at voices rather than musical transposition.

Further reading

  • Time-Stretching Audio Without Changing Its Pitch12 min read

Private by design

Audio is decoded and processed locally with the Web Audio API. Your files are never uploaded to a server.