
Sounds · Free
Nope sound
“Mm-mm”, for a switch turned off. A StackD interface sound made with Web Audio, no audio file to load, plus its WAV.
Code is free. Figma comes with StackD Pro.
Details
- Category
- Sounds
- Plan
- Free
- Code
- TypeScript, Web Audio · 188 lines
- Files
- sounds.ts, stackd-nope.wav
- Needs
- Nothing: any web app
- Agents
- MCP server and shadcn registry
About
“Mm-mm”, for a switch turned off. Made in the browser with Web Audio: nothing to load, no licences to track, and you can tune its pitch and volume where you use it. Most StackD sounds are the Bot saying something tiny, a soft voice shaped into a vowel.
Free. sounds.ts holds the five free sounds (boop, blink, blob, yep, nope), so the other four come with it.
Install
With the shadcn CLI:
npx shadcn@latest add https://www.stackd.codes/r/sound-nope.jsonOr let your agent add it through the StackD MCP server:
claude mcp add --transport http stackd https://www.stackd.codes/mcpPrompt for your agent
Paste it into Claude Code, Cursor, Codex or VS Code once the MCP server is connected.
Add the StackD Nope sound component to this project. Use the StackD MCP server: call get_component with { "name": "sound-nope" }, write the files at the paths it gives and install any npm packages it lists. Then use it where it fits, following its README for the props, and keep its own styles.Use
- Copy
sounds.tsinto your project (for examplecomponents/). - Turn sounds on from a switch the user flips, and play it from a click or a key press:
import { sounds } from './components/sounds'
sounds.setEnabled(true) // from your sound switch; the choice is remembered
sounds.play('nope') // on a click
sounds.play('nope', { pitch: 1.2, volume: 0.5 }) // tuned where you use it
Sounds are off by default: nobody wants a page that beeps by itself. Browsers only allow audio that starts from a click or a key press, so call play there (Safari is strict about it).
API
| What it does | |
|---|---|
sounds.play(name, { volume, pitch, force }) | Plays a sound. volume 0 to 1, pitch around 1 (1.2 is higher). force plays it even when sounds are off (for previews). |
sounds.setEnabled(on) / sounds.isEnabled() | Turns sounds on or off; remembered in localStorage (stackd:sound). |
sounds.setVolume(v) | The master volume, 0 to 1. |
sounds.subscribe(fn) | Called when sounds are turned on or off (to update your switch). |
sounds.render(name) | Renders a sound offline to an AudioBuffer (to draw its waveform or save it). |
The WAV
stackd-nope.wav is the same sound as a file (48 kHz, mono), for apps, videos or tools that need audio files.
Licence
Use the sound, the code and the WAV in personal and commercial projects. Don't resell or share them on their own.





