Open audio stack for JavaScript

JavaScript packages for audio: decode, encode, measure, process, synthesize and play, the same code in the browser, Node, Deno and Bun.

docs ↗
// Blackbird by Diana Tudor, xeno-canto.org/1059970, CC BY 4.0, an excerpt
audio('/home/blackbird.mp3')
01

Modules

150+ plugins, one job each: filters, dynamics, reverbs, pitch and time, denoise, synthesis, analysis. audio loads each by name.

02

Utils

23 tools in the browser: convert, measure loudness, remove noise, split stems, transcribe, tune.

03

CLI

The same edits in a terminal: a file in, its edits, a file out; a check that fails a build. npx audio voice.wav trim normalize podcast save clean.mp3

04

Lab

How sound is drawn, set and heard, tried live. Every figure is computed in the page from the sound's samples.

05

Playground

An audio editor in the browser, every edit of it a line of audio code. Connect it to an agent of yours and it edits too.

06

Agents

audio as an MCP server and an agent skill: an agent measures, edits and plays sound with the same calls. npx -y audio --mcp

Audio for Mac Coming

The playground as a Mac app: a window of its own, sounds opened from Finder and the Dock, the menu bar’s menus, the microphone.

macOS on Apple silicon