Sample Rate Conversion

Pick a new sample rate. Linear interpolation builds the new frames.

Use this tool

Drop a file here, or use the picker. The file type is checked from its contents.

Result

The result appears in this panel after you run the tool.

About this tool

The new rate is stored in the WAV header. Pitch stays put.

How to use it

  1. Choose a WAV, AIFF, or MP3.
  2. Pick the rate the next tool or device expects.
  3. Download the WAV. Duration stays about the same. The frame count changes.

Limitations

New frames drawn on a straight line

Duration versus frame count

A one-second clip at 48000 Hz holds 48000 frames. The same second at 16000 Hz holds 16000 frames. The playback length stays near one second because the header rate changes with the frame count. Pitch does not drop the way it does on Speed Change, which keeps the rate and changes how many source frames map into each output frame without telling the header. Here the header tells the truth about the new spacing. Choosing the rate the file already has returns the same buffer. No extra filtering is applied in that case.

The line between samples

Each output frame looks up a fractional position in the source. The value is a blend of the sample on the left of that position and the sample on the right. Halfway between 0.0 and 1.0 becomes 0.5. That is linear interpolation. A band-limited converter would low-pass before throwing frames away, so that energy above the new Nyquist frequency does not fold into the audible band. This page does not do that low-pass first. Dropping from 44100 Hz to 8000 Hz can therefore alias bright material into tones that were not in the source. Rising from 8000 Hz to 48000 Hz cannot invent harmonics that were never captured. It only draws extra points along the lines that already connect the coarse samples, which can sound smoother and can also sound dull.

When an encoder needs a rate

WAV to MP3 resamples to 44100 Hz on its own when the incoming rate is not one LAME accepts. You do not have to visit this page first for those rates. Visit it when you want a specific rate in the WAV itself, for a device that plays WAV, or for an AIFF that should match a session rate before WAV to AIFF. The allowed choices are the six rates in the menu, from 8000 Hz through 96000 Hz. Other integers are rejected by the engine even if a request tries to send them. Stereo channels are interpolated independently at the same positions, so the timing relationship between left and right stays.

Privacy

Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.