Ask HN: Does anyone use sound effects in their dev environment?
It occurred to me that we often use colours in our terminals and code editors to highlight test failures, linting errors etc, but we don't typically use sounds. Has anyone integrated sound effects in any way?
335 comments
[ 2.8 ms ] story [ 342 ms ] threadXcode at least used to have sounds for “build failed” and “build succeeded”, and IntelliJ gives you notifications for build and test failures when the app isn’t focused.
Most of the work is thinking through a problem, then ensuring it's coded correctly. The colors and syntax highlighting and squiggly lines and Typescript warnings etc (in Jetbrains) are all helpful because they are contextual. "Hey, this function isn't written right" or "you mapped this array to an invalid return type" let me know exactly what I did wrong so I can fix it.
I don't think random beeps and dings and pewpews would have the same kind of contextual usefulness, and would probably be annoying and take me out of the zone whenever I'm focused and coding.
Of course there are already onscreen solutions for that, such as indicators in the minimap, but it could be more obvious as a sound.
Oh shit something broke over there!
Crap I forgot to built something over here!
Bah I knew I should have tested that!
The deadline is approaching!
https://ss64.com/mac/say.html
https://manpages.debian.org/bookworm/gnustep-gui-common/say....
Just created an alias
alias waitfor='f() { sleep $1; say "Task $2 is probably done now"; }; f'
I also surprise myself regularly by finding that I'm still wearing noise-cancelling headphones long, long after the Zoom or WebEx has ended. When I take the headphones off, I'm surprised again by how noisy the background is, particularly the howling of the ventilation system.
(Coffee shops don't really work for me...)
I moved desk within a few hrs.
Before everyone went 'open office' it was semi fun to have sounds on different build actions. Now not so much :(
A friend of mine has a TSR application that plays sounds to simulate as if they had a mechanical keyboard which they use with their laptop. So that's something.
Here's an example:
I ended up disabling the feature because it was always the bottom shelf.
Was forced to move to a new place. Had to buy a secondhand fridge. Thermostat was out of whack. Instead of calling a technician, I decided to have fun, replaced the thermostat by an Arduino with a couple of thermometers (top shelf, bottom shelf), a relay driving a contactor, and a beeper. Firmware stayed in "beta version", never thought about publishing it.
When I moved again to a new place I ditched the frankenfridge.
Would be funny to create an elaborate system of notification tones that are only discernible by a trained musician
Oh man, could this concept be turned into an esoteric programming language where to program you use a musical keyboard and all the symbols in your lang are different chords or intervals
Absolutely no visual feedback for extra pain
1. https://github.com/tonsky/AnyBar
This plays a click when React components rerender, to make you aware of the page performance
https://github.com/tomhicks/react-audible-debug
> doSomething && say “Finished!”
The advantage over normal print debugging is that you get immediate feedback, and do not need to switch to a console. This is also useful when it comes to debugging split second timings (custom window movement scripts).
I actually did set my shell to spawn a background task to play the vine boom whenever I entered an invalid command.
Something like
And it actually improved my command accuracy by a lot. And it was super fun.I work in automation so sending an IM in case something’s wrong (or finished) is not a rare thing. May count as a sound too. I also shoot videos of everything a visual script does for debug (xvfb, ffmpeg).