An Antigravity (and VS Code) extension that plays a customizable sound whenever an error occurs in your code. It works out of the box and is designed to playfully annoy you into writing better code.
Features
Plays a sound immediately when a syntax or compilation error is typed/detected!
Plays a sound when a command fails in your built-in terminal!
Includes debounce protection to prevent ear-bleeding if hundreds of errors appear at once.
Setup
The extension works automatically upon installation. Whenever the total number of errors in your workspace increases, it will play the default "Faah" sound.
To test your audio playback, open the Command Palette (Cmd + Shift + P) and run:
Error Sound: Test Playback
Extension Settings
This extension contributes the following settings:
errorSound.audioFilePath: Absolute path to a custom audio file (.wav, .mp3, .aiff). Leave empty to use the default sound.
errorSound.enabled: Enable or disable the error sound on new errors.
errorSound.terminalErrorsEnabled: Enable or disable playing the error sound for terminal errors (e.g. command not found).
errorSound.debounceMs: Minimum delay in milliseconds between playing sounds, to prevent spamming. Default is 1500.
Known Issues
Currently uses standard system audio players (afplay on Mac, aplay on Linux, Media.SoundPlayer on Windows). Make sure your system audio is enabled.