Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Glancing across the dashboard several times a minute is a bad thing to do if you're doing something that requires concentration. However, you probably want to notice if something goes wrong.
Your visual attention is usually taken by terminals and text editors, but hearing is probably left underused. This patch adds a view that emits a "click" sound when it gets an event, almost like a Geiger radiation counter. When bound to a stream that emits an event on every exception in your system, it should sound pretty rarely and your mind will tune it out eventually, but when something goes wrong, the amount of clicks will sharply rise, changing the sound and grabbing your attention to the issue.
On the technical side: this thing uses WebAudio's AudioBuffers to cache sounds. Sounds can be played concurrently, so to smooth out the volume all playing sounds are mixed into a hard limiter and then to an amplifier node. Amplifier gain is controlled with a volume slider in view options. I've experimented for a bit and it seems like a quadratic relationship between slider value and gain is very intuitive.
Included sound files are a Geiger counter click (geiger.wav) and a short 1000hz beep (beep.wav).