FAHH Terminal Error Sound
FAHH Terminal Error Sound is a VS Code extension that plays a FAHH sound effect whenever a terminal command fails.
It works with any programming language because it detects when a terminal command exits with a non-zero status code.
The goal is simple: make debugging a little louder.
Features
Plays a FAHH sound when a terminal command fails.
Works with any language that runs in the VS Code terminal:
- Python
- Node.js
- C / C++
- Java
- Rust
- Bash scripts
- and more.
Toggle sound on or off
Spam mode to play multiple FAHH sounds on failure
Manual commands to trigger the sound from the Command Palette
Cross-platform support
How It Works
The extension listens for terminal command completion using VS Code's terminal shell integration.
If a command exits with a non-zero exit code, the extension triggers the FAHH sound.
Example:
python test.py
Traceback (most recent call last):
ZeroDivisionError
Result:
FAHH
If Spam Mode is enabled:
FAHH FAHH FAHH
Commands
Open the Command Palette:
Ctrl + Shift + P
Available commands:
| Command |
Description |
| FAHH: Toggle Sound |
Enable or disable the FAHH sound |
| FAHH: Toggle Spam Mode |
Enable multiple FAHH sounds for each error |
| FAHH: Play Sound |
Play the FAHH sound manually |
| FAHH: Spam Sound |
Play the FAHH sound several times |
| Platform |
Audio Method |
| Windows |
PowerShell SoundPlayer |
| macOS |
afplay |
| Linux |
aplay |
No additional setup is required.
Installation
- Open VS Code
- Go to Extensions
- Search for fahhh effect
- Click Install
Once installed, run your code normally in the terminal.
If the command fails, the FAHH sound will play automatically.
Example Use
Run a program that crashes:
node app.js
Error: something broke
The extension detects the failure and plays the sound.
Known Limitations
- Requires VS Code Terminal Shell Integration for exit code detection.
- Sound playback depends on system audio tools (
PowerShell, afplay, or aplay).
Author
Vishnu Deviprasad Shetty