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.

Free to use · Code: MIT · Sounds: CC BY 4.0 · Web and React

Sound settings

Off by default. Your choice is saved in this browser.

70%
Sound family

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.

Ready

    Try a moment:

    Enter sends, Shift + Enter adds a line.

    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

    1. Install and copy the sound files into your public folder:

      npm install ai-chat-sounds
      npx ai-chat-sounds copy public/sounds
    2. 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')
    3. 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>
        )
      }
    4. 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