All work

Ambisonic Decoder

Turn 360° microphone recordings into stereo you can steer and see

A 3D head seen in profile with a cloud of light points above and behind it, rotation panel top right, waveform along the bottom

The problem

Ambisonic microphones record sound from every direction into a four-channel file. Most players can't do anything useful with that file, so you can't simply open it and listen.

To get a normal stereo track you have to choose which way the listener faces. Without a picture of where the sounds actually are, that choice is guesswork, and the usual audio tools give you no picture at all.

What I built

  1. Decode first-order ambisonics (W, X, Y, Z) to stereo in real time in the Web Audio API, with yaw, pitch and roll applied as a rotation matrix before the decode.
  2. Put a 3D head in the middle of a Three.js scene and let the user drag it to turn the listener; shift-drag rolls, scroll zooms.
  3. Estimate sound directions from short blocks of the four channels, group them into clusters and draw each as a point cloud that follows playback.
  4. Show the decoded waveform with trim handles and click-to-seek, plus separate gain for the picture and for the audio.
  5. Export the decoded result as WAV, or hand it to FFmpeg for MP3, OGG Vorbis/Opus and FLAC, with bit depth, sample rate, channels and normalization options.

What it does

Built with Electron, Three.js, Web Audio API, FFmpeg, JavaScript, 2026.