Fahhh Sound - VS Code Extension
Make your coding errors entertaining! This extension plays the iconic "Fahhh" sound when you write buggy code.
Tired of silently staring at red squiggly lines? Now every error comes with a satisfying "Fahhh!" to lighten the mood while debugging.
Features
- Plays on code errors: When you write invalid code (red squiggly lines), hear "Fahhh!"
- Smart debounce: Waits 2 seconds after you stop typing (no spam while typing!)
- Only on NEW errors: Won't replay for the same errors
- Manual commands: Play Fahhh or Bruh sounds on demand
- Status bar toggle: Quick enable/disable from the status bar
How It Works
- Write some buggy code (e.g.,
import jabba in Python)
- Wait 2 seconds after typing
- Hear "Fahhh!" when the error is detected
Commands
Open Command Palette (Ctrl+Shift+P / Cmd+Shift+P) and type:
| Command |
Description |
Fahhh: Play Fahhh Sound |
Play the Fahhh sound |
Fahhh: Play Bruh Sound |
Play the Bruh sound |
Fahhh: Enable Error Sounds |
Enable automatic sound |
Fahhh: Disable Error Sounds |
Disable automatic sound |
Fahhh: Toggle Error Sounds |
Toggle on/off |
Installation
From VS Code Marketplace
- Open VS Code
- Go to Extensions (
Ctrl+Shift+X)
- Search for "Fahhh Sound"
- Click Install
From VSIX file
code --install-extension fahhh-sound-1.0.4.vsix
Settings
Configure in VS Code Settings (Ctrl+,):
| Setting |
Default |
Description |
fahhh.enableOnCodeError |
true |
Play sound on code errors |
fahhh.volume |
100 |
Volume level (0-100) |
fahhh.cooldownMs |
3000 |
Minimum ms between sounds |
Status Bar
Look for the Fahhh indicator in your status bar (bottom right):
- Click to toggle on/off
- Shows mute/unmute icon
Bonus: Terminal Error Sound
Want "Fahhh" to play when terminal commands fail (e.g., python abc.py with errors)?
VS Code extensions can't read terminal output, but you can add this to your shell:
For Mac (Zsh) - Add to ~/.zshrc:
# Fahhh on terminal error
fahhh_on_error() {
local last_exit=$?
if [ $last_exit -ne 0 ]; then
afplay ~/.fahhh-sound/fahhh.mp3 2>/dev/null &
fi
return $last_exit
}
precmd_functions+=(fahhh_on_error)
For Linux (Bash) - Add to ~/.bashrc:
# Fahhh on terminal error
fahhh_on_error() {
local last_exit=$?
if [ $last_exit -ne 0 ]; then
(mpv --no-video ~/.fahhh-sound/fahhh.mp3 2>/dev/null || paplay ~/.fahhh-sound/fahhh.mp3 2>/dev/null) &
fi
return $last_exit
}
PROMPT_COMMAND="fahhh_on_error; $PROMPT_COMMAND"
Setup:
# Create sound directory
mkdir -p ~/.fahhh-sound
# Download sounds (or copy from extension)
# The extension installs sounds to: ~/.vscode/extensions/jrdiablo.fahhh-sound-*/sounds/
# Reload shell
source ~/.zshrc # or ~/.bashrc
Now run python nonexistent.py and hear Fahhh!
Requirements
This extension needs an audio player:
| Platform |
Players (in order of preference) |
| macOS |
afplay (built-in) |
| Linux |
mpv, ffplay, paplay, aplay |
| Windows |
mpv, ffplay |
Recommended for Linux: sudo apt install mpv
Why This Extension?
Because debugging should be fun! Instead of silently staring at red squiggly lines, now you get an audible reaction that matches exactly how you feel when you see another error.
Contributing
Found a bug? Have a feature request? Open an issue on GitHub.
License
MIT License - feel free to use, modify, and share!
Made with frustration and humor by Jitesh Rajpal