1. Home
  2. Audio & video tools
  3. Audio Phase Inverter & Mid/Side Decoder

Audio Phase Inverter & Mid/Side Decoder

Correct a speaker or microphone wired out of phase, listen to just the centre or just the stereo difference, and convert between left/right and mid/side.

Free, no sign-up. Runs in your browser: nothing is uploaded.

How to use Audio Phase Inverter & Mid/Side Decoder

  1. Open a stereo audio file.
  2. Choose an operation such as invert left, mid only or decode M/S.
  3. Apply and download.

Features

  • Invert one or both channels
  • Swap left and right
  • Mid only, side only, or centre removal
  • Encode L/R to M/S and decode M/S to L/R
  • WAV, Opus or AAC output

Supported formats

You can open

  • MP3
  • WAV
  • M4A
  • OGG
  • FLAC
  • WebM

You get

  • WAV
  • WebM
  • M4A

Private by design

Your files are opened and processed by your browser on this device. They are never uploaded to openWorkstand or anyone else, so the Audio Phase Inverter & Mid/Side Decoder is safe for contracts, IDs, photos and work documents. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • Centre removal only works when the vocal is identical in both channels.
  • Operations other than inverting both channels need a stereo file.

Guide

Polarity, phase and mid/side: fixing and reshaping stereo

When two microphones record the same sound, or two speakers play it, their waveforms either reinforce or fight each other. If one is wired backwards, the speaker cone moves out while the other moves in, and the bass in the middle of the image disappears. The same thing happens in a recording where one channel was captured upside down. This tool flips and re-routes the two channels of a stereo file, and converts between the left/right form and the mid/side form that many engineers prefer to mix in.

Polarity versus phase

Inverting polarity multiplies every sample by −1, turning peaks into troughs. On its own it is inaudible. It matters in combination: add a signal to its inverted copy and you get silence, which is how noise-cancelling and some mixing tricks work. Phase shifts, in contrast, move different frequencies by different amounts and come from delays, filters and microphone distances. Inverting polarity can cure a wiring mistake, but not a timing offset between two microphones.

Mid and side

Any stereo pair can be written as what the two channels share, the mid, and how they differ, the side. The tool defines mid as (L + R) ÷ 2 and side as (L − R) ÷ 2. To go back, left is mid plus side and right is mid minus side. A mono sound panned dead centre has all its energy in the mid and nothing in the side. Reverb and wide synthesisers carry a lot of side. Mastering engineers adjust the two separately to widen a mix or tighten the bass.

The nine operations

Invert both channels, Invert left only and Invert right only change polarity. Swap left and right exchanges the channels. Keep the mid and Keep the side extract one of the two signals and play it on both sides. Remove the centre writes the side, so anything identical in both channels cancels. Encode left/right to mid/side stores the mid in the left channel and the side in the right, and Decode mid/side to left/right reverses that for a recording made with an M/S microphone and saved that way.

A worked example

Press Sample, choose Keep the mid (centre) only and press Apply. The result sample-song-mid.wav has two channels and 176,400 frames at 44,100 Hz, and its left and right samples are identical, as the browser test confirms by comparing them. Because the sample’s left channel plays the notes low and the right an octave higher, the mid contains both layers at half strength. Choose Keep the side only and you hear the difference of the two layers instead of their sum, which has the same notes but a different balance between the low and the high layer.

Edge cases

Centre removal works on identical content only; real vocals are often centred but are accompanied by reverb and doubling that stay. It also removes the kick and bass, which are centred too. Encoded mid/side files sound odd when played directly, with a loud centre on the left and a thin signal on the right, which is expected. Mono files accept only the inversion of both channels, and the page says so.

Limits

The tool has no phase-shifting, delay or width control; those belong to an editor. Output is WAV, Opus or AAC, and compressed formats lose a little detail on re-encoding. The work is done on your device.

Checked against the current version of the Audio Phase Inverter & Mid/Side Decoder on .

Troubleshooting

The file does not open

Check that it is one of the supported formats above and opens in another app. Damaged files and password-protected PDFs cannot be read until they are repaired or unlocked.

It is slow or stops on a very large file

Everything runs on your device, so speed depends on its memory. Close other tabs, use a computer rather than a phone, or split the file into smaller parts first.

The download did not start

Look for your browser’s download bar or icon. Some browsers ask once before a site may download files; allow it and click the button again.

Frequently asked questions

Is polarity the same as phase?

Not exactly. Inverting polarity flips the waveform upside down, equal to a 180 degree phase shift at every frequency at once. True phase shifts change different frequencies by different amounts, as a delay or filter does, and cannot be undone by flipping.

Why would I record in mid/side?

A mid/side microphone pair captures a centred sound and a figure-eight sideways pickup. The stereo width is decided later by how much side is mixed in, and folding to mono is perfect because the side cancels exactly.

How can I tell if my recording is out of phase?

Fold it to mono. If the sound becomes thin, hollow or much quieter, the channels partly cancel. Inverting one channel and listening again will show whether that fixes it.

Does removing the centre really remove vocals?

Only when the vocal is mixed identically into both channels. It also removes the bass and kick, and leaves reverb and stereo-wide parts, so results vary widely.

Keep working with the result

After you download, choose “Save to Workstand” to keep the result in a folder on your computer, attach it to a project and create a follow-up task. It is saved by your browser, not uploaded.