ui-sounds

Procedural audio feedback for UI interactions. Pure Web Audio API synthesis, zero dependencies.

GitHub

Select theme

How it works

Every sound is synthesized at runtime using oscillators, filters, and gain envelopes. No audio files loaded. Each theme changes the waveforms, frequencies, and character.

Oscillator Filter Gain Master Output

Add to your project

Install the Claude Code skill, then ask Claude to add sounds.

# Add the skill to your project git clone https://github.com/buburdin/ui-sounds .claude/skills/ui-sounds

Then prompt Claude:

"Add click sounds to all buttons using the playful theme"

Claude generates inline code — no npm install needed:

// Generated React hook const { playClick, playSuccess } = useUISound('playful'); // Use in your components <button onClick={() => { playClick(); }}> Save </button>

Sound reference

ActionSoundDuration
clickShort percussive tap30–120ms
navigationFrequency sweep / whoosh80–450ms
successAscending tone100–300ms
errorVibrato alert150–600ms
loadingRepeating pulse20–200ms
hoverSubtle presence15–45ms
deleteDescending warning80–300ms