Sound for the new moments in AI chats
Send, thinking, streaming, done, tool calls, approvals, errors and voice. 26 short, quiet cues from one sound family, off until your users turn them on.
Sound settings
Off by default. Your choice is saved in this browser.
Your system asks for reduced motion. Sounds play at half volume, and loops and ticks are skipped.
Try the chat
A pretend assistant: no AI, nothing leaves your browser. Every moment has a sound and a visible state, and screen readers get the same information as a short message.
Try a moment:
All 26 sounds
Play buttons work even when sound is off, because you asked for them. Download any sound, or all of them from the releases.
Use it
-
Install and copy the sound files into your public folder:
npm install ai-chat-sounds npx ai-chat-sounds copy public/sounds -
Create the player once, give users a switch, play cues:
import { createChatSounds } from 'ai-chat-sounds' const sounds = createChatSounds({ baseUrl: '/sounds' }) // off until the user opts in soundSwitch.onclick = () => sounds.setEnabled(!sounds.getState().enabled) sounds.play('message-send') sounds.play('thinking') // loops, stops by itself after 3 s sounds.stop('thinking') sounds.play('answer-complete') -
In React:
import { useChatSounds } from 'ai-chat-sounds/react' function SoundSwitch() { const { enabled, setEnabled } = useChatSounds(sounds) return ( <button role="switch" aria-checked={enabled} onClick={() => setEnabled(!enabled)}> Sound </button> ) } -
Give credit, for example on your about or credits page:
"AI Chat Sounds" by Canni (Code Labor), https://github.com/Canni22/ai-chat-sounds, CC BY 4.0
Accessibility
- Off by default. Users turn sound on. The choice, volume and family are remembered.
- Never the only signal. Every sound goes with a visible state and a status message for screen readers (WCAG 4.1.3 Status Messages, 1.3.3 Sensory Characteristics).
- Loops stop by themselves after 3 seconds at most and stop at once when sound is turned off (WCAG 1.4.2 Audio Control).
- Reduced motion respected. When the system asks for it: half volume, no loops, no ticks.
- Quiet and short. Each role has a fixed level, so a tick never gets as loud as a notification. Streaming ticks are rate-limited.