FAA SOUND is a lightweight VS Code extension that plays a configurable audio file when a terminal command or task exits with a non-zero exit code. It is intended to provide an audible alert for failed runs.
Author: Pradeep Kuamr Awasthi
Features
Plays a workspace audio file when a terminal or task fails.
Configurable sound filename via faaSound.file (default: faaah.mp3).
Activates at startup so failures are audible immediately.
Installation
Open the extension folder in VS Code.
Press F5 to run in an Extension Development Host while developing.
Configuration
faaSound.file (string): Path to sound file relative to the workspace root. Default: faaah.mp3.
Testing
Ensure faaah.mp3 (or your chosen file) is placed in the workspace root.
In the Extension Development Host, open the integrated terminal and run a failing command. Example (Windows PowerShell):
powershell -NoProfile -Command "exit 1"
The extension should detect the non-zero exit and play the configured audio file.