@web-kits/audio
freeDeclarative Web Audio for UI sounds: define a pop, beep or click from oscillators and envelopes, no files.

Try these
cuelume
Named interface sounds generated with Web Audio, attached by data attributes or played from code.
soundcn
700+ short CC0 sound effects (clicks, chimes, game sounds) installed as code with the shadcn CLI.
slot-text
Zero-dependency text roll: labels change by rolling characters like a slot machine (Copy to Copied).
glimm
Shader-driven page transitions for Next.js: links trigger a WebGL wipe between routes.
For your agent
Install
npm i @web-kits/audioUse it for
- a pop, beep or chime synthesised with Web Audio oscillators and envelopes in code
Skip it when
- you want ready-made sounds by name: use cuelume or soundcn
What's inside20 free
- defineSound
- defineSequence
- definePatch
- SoundProvider
- useSound
- useSequence
- usePatch
- useAnalyser
- renderToWav
- CLI
- Core patch
- Mechanical patch
- Retro patch
- Minimal patch
- Soft patch
- Crisp patch
- Organic patch
- Playful patch
- Drums patch
- Synths patch
Facts
- Frameworks
- react, vanilla
- Styling
- unstyled
- Weight
- tiny
- Accessibility
- n/a
- Maturity
- experimental
- License
- MIT
- Price
- Free
import { defineSound, ensureReady } from "@web-kits/audio"
const pop = defineSound({
source: { type: "sine", frequency: { start: 1200, end: 300 } },
envelope: { attack: 0.001, decay: 0.06, sustain: 0, release: 0.03 },
gain: 0.3,
})
button.onclick = async () => { await ensureReady(); pop() }https://audio.raphaelsalaja.com/library
This site doesn't allow being shown inside another page. Here is how it looks.
Open in a new tab