Edit audio.
In JavaScript.
Original0:08.0
Edited0:05.2
import audio from 'audio'
await audio('recording.wav')
.trim()
.normalize(-1)
.fade(0.02, 0.1)
.save('edited.wav')
Explore the API
One chain.
From input to output.
- Edit without losing the original.
- Changes live in an edit list. Undo them, copy them, or apply them to another recording.
- Add only what you need.
- Extend your chain with effects, analysis, and codecs from the
@audiopackages. - Let an agent run it.
- AI agents drive the same chain through the CLI. Add
npx -y audio --mcpas an MCP server, or give coding agents the skill:npx skills add audiojs/audio.