Ambisonic Decoder
Turn 360° microphone recordings into stereo you can steer and see
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
- 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.
- 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.
- Estimate sound directions from short blocks of the four channels, group them into clusters and draw each as a point cloud that follows playback.
- Show the decoded waveform with trim handles and click-to-seek, plus separate gain for the picture and for the audio.
- 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
- Drop in a four-channel WAV and it shows the file, format and length straight away
- Point clouds move around the head as sources move in the recording
- Dragging the head changes what you hear, with live yaw, pitch and roll readouts
- Waveform scrubbing and trim handles for picking a section
- An export dialog that confirms rotation, gain and trim before saving
Built with Electron, Three.js, Web Audio API, FFmpeg, JavaScript, 2026.