Skip to content
tastebase

tastebase

Sign in

Your agent gets your look, hearts and dislikes in every project. Folders follow you to every device.

We keep the name, avatar and email your provider shares. Nothing else.

@web-kits/audio

free

Declarative Web Audio for UI sounds: define a pop, beep or click from oscillators and envelopes, no files.

by Raphael Salaja GitHub npm
visit
@web-kits/audio website

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/audio
Use 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
Alternatives
Compare @web-kits/audio with its alternatives
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() }
Visit