Terminal Execution Sounds 🔊
A sleek, lightweight Visual Studio Code extension that plays custom audio cues (success.wav / failure.wav or your own custom audio files) on terminal command executions and build tasks.
🎨 Terminal Sound Studio (Interactive UI Dashboard)
Version 1.2.0 includes a dedicated visual control center right inside VS Code:
- Visual Audio Cards: Inspect active file paths, source (Bundled vs Custom), and preview tones with one click.
- Master Volume Slider: Smooth slider (5% to 100%) so you can set the exact loudness you want.
- Smart Build & Run Switch: Toggle between smart filtering (only builds/runs) or all commands.
- Ignore Ctrl+C Switch: Prevent failure sounds when manually cancelling long processes.
- Ignored Commands Tag Manager: Visually see, add, or delete ignored commands (
clear, cls, exit, etc.) with interactive tag chips.
- Live Terminal Simulator: One-click buttons to launch real test commands in an integrated terminal.
To open the dashboard:
- Press Ctrl + Shift + P ➔
Terminal Sound: Open Sound Studio Dashboard...
- Or click
$(bell) Sounds in the status bar ➔ Open Sound Studio Dashboard...
🎵 Custom Tones & Audio Support
.wav (native instant playback)
.mp3
.m4a / .aac
.ogg
.flac
.wma
🛠️ How to Set Your Own Custom Tones
Method 1: Using the Interactive File Picker (Easiest)
- Open the Command Palette (Ctrl + Shift + P).
- Choose:
Terminal Sound: Choose Custom Success Tone...
Terminal Sound: Choose Custom Failure Tone...
- Select any audio file from your computer.
- Choose whether to apply it Globally (for all your projects) or For this Workspace only.
- It will immediately play a preview of your selected tone!
- Click the
$(bell) Sounds icon in the bottom right status bar.
- Click
Choose Custom Success Tone... or Choose Custom Failure Tone....
- You can also preview active tones or reset back to default tones anytime.
Method 3: Drop Audio Files in Your Project
Simply drop your audio files directly in your project root or sounds/ folder:
success.wav or success.mp3
failure.wav or failure.mp3
The extension will automatically prioritize workspace audio files over bundled defaults.
🎯 Intelligent Execution Detection
🔇 What is SILENT (No Success Sound):
- Version checks (e.g.
node -v, python --version, cargo -V, git --version)
- Help queries (e.g.
git --help, python -h, help cd, man ls)
- Basic shell / navigation commands (e.g.
cd, ls, dir, pwd, clear, cls, echo, cat, touch, mkdir, rm)
- Read-only Git commands (e.g.
git status, git branch, git log, git diff)
- Empty commands (pressing
Enter on a blank prompt)
- Cancelled commands (
Ctrl+C / SIGINT)
🔊 What TRIGGERS the Success Sound:
- Builds & Compilers:
npm run build, make, cmake, gcc main.c, g++, tsc, esbuild, cargo build, dotnet build, etc.
- Code Execution:
node -e "...", python script.py, node app.js, cargo run, go run main.go, dotnet run, ruby app.rb, etc.
- Start & Dev Servers:
npm start, npm run dev, yarn dev, pnpm dev, etc.
- Test Frameworks:
pytest, npm test, jest, vitest, cargo test, go test, etc.
- Local Binaries & Scripts:
./a.out, .\app.exe, ./build.sh, .\test.ps1, etc.
- VS Code Tasks: Any task executed via
Terminal > Run Build Task... or tasks.json.
⚙️ Configuration Settings
Configure via VS Code Settings (Ctrl + , ➔ search Terminal Execution Sounds):
| Setting |
Default |
Description |
terminalSoundEffects.volume |
80 |
Master volume (5% to 100%). |
terminalSoundEffects.successSoundPath |
"" |
Custom path to your success audio file (.wav, .mp3, .ogg, etc.). |
terminalSoundEffects.failureSoundPath |
"" |
Custom path to your failure audio file (.wav, .mp3, .ogg, etc.). |
terminalSoundEffects.onlyPlaySuccessOnBuildOrRun |
true |
Only play success sound on builds, runs, tests, and scripts. |
terminalSoundEffects.customBuildOrRunPatterns |
[] |
Custom wildcard or regex patterns to treat as build/run commands. |
terminalSoundEffects.enabled |
true |
Enable or disable sounds entirely. |
terminalSoundEffects.ignoreEmptyCommands |
true |
Ignore pressing Enter on a blank prompt. |
terminalSoundEffects.ignoreCancelledCommands |
true |
Do not play failure sound on Ctrl+C. |
terminalSoundEffects.ignoredCommands |
["clear", "cls", "exit"] |
Commands that won't trigger sounds. |
terminalSoundEffects.enableTasks |
true |
Play sounds for VS Code Task Runner tasks. |
terminalSoundEffects.showStatusBarItem |
true |
Show status bar icon with quick menu. |
| |