Skip to content

EZ Web AudioThe Simple Web Audio API for JavaScript & TypeScript

Play sounds, create synthesizers, build drum machines, and visualize audio — all with zero dependencies and full TypeScript support.

What is EZ Web Audio?

EZ Web Audio is a TypeScript library that wraps the Web Audio API with a simpler interface. Instead of dealing with AudioContext, AudioBufferSourceNode, and GainNode directly, you write clean, readable code:

typescript
import { createSound } from 'ez-web-audio'

const sound = await createSound('/audio/click.mp3')
sound.play()

From simple sound effects to full synthesizers with ADSR envelopes, EZ Web Audio handles the complexity so you can focus on creating.