Other than 3 hours where I modified git push to play "Push It" by Salt-N-Pepa before it got annoying, nope.
Ask HN: Does anyone use sound effects in their dev environment?
11–20 of 336 posts
Re: Ask HN: Does anyone use sound effects in their dev environment?
#12One of my friends old office had speakers and every time Jenkins failed with a build it made a short sound. It was different for each project so everyone familiar with the sound would instantly know which project pipeline failed. He liked it and had fun choosing a sound effect fitting for his own project :)
Re: Ask HN: Does anyone use sound effects in their dev environment?
#13I don't personally but then again most of my work is not asynchronous in nature.
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.
Re: Ask HN: Does anyone use sound effects in their dev environment?
#14It isn't exactly what you have in mind, but I use `play` as well as a terminal theme color change to tell me when I'm using one or another language's keyboard layout. If you put & in front of play, you can make chords.
Here's an example:
# Define notes for major seventh chord starting on A 440
A=440
C_SHARP=554.37
E=659.25
G_SHARP=830.61
if [[ "$layout" == "Finnish" ]]; then
# Play a major seventh chord ascending
kitty +kitten themes --reload-in=all Apprentice &
play -n synth 0.2 sine $A vol -30dB &
play -n synth 0.2 sine $C_SHARP vol -30dB &
sleep 0.2
play -n synth 0.2 sine $E vol -30dB &
play -n synth 0.2 sine $G_SHARP vol -30dB &
elif [[ "$layout" == "English (US)" ]]; then
kitty +kitten themes --reload-in=all Default &
play -n synth 0.2 sine $G_SHARP vol -30dB &
play -n synth 0.2 sine $E vol -30dB &
sleep 0.2
play -n synth 0.2 sine $C_SHARP vol -30dB &
play -n synth 0.2 sine $A vol -30dB &
fiRe: Ask HN: Does anyone use sound effects in their dev environment?
#15No - in fact I habitually leave my speaker muted, to prevent programs like Slack from distracting (and likely irritating) my co-workers in the office.
Re: Ask HN: Does anyone use sound effects in their dev environment?
#16Sometimes when I wait for slow tasks to complete I do stuff like: sleep 900; say "Task X is probably done now" On Mac this works out of the box, AFAICT Linux has similar commands. https://ss64.com/mac/say.html https://manpages.debian.org/bookworm/gnustep-gui-common/say....
I do this, but I put it after terminal tasks like builds or test suites like task build; say complete
Re: Ask HN: Does anyone use sound effects in their dev environment?
#17I play different wav files when compile fails or succeeds, so I don’t need to switch to terminal from the editor. This in addition to Anybar(1) red/green icons.
Re: Ask HN: Does anyone use sound effects in their dev environment?
#18Many years ago I had a manager who set a sound on our monitoring system to make a noise every time we got an alert. It went off non-stop and everyone started yelling at him until he turned it off.
Re: Ask HN: Does anyone use sound effects in their dev environment?
#19Only a little bit. I have VS Code configured to emit a small sound when a terminal command fails, or when a debugging breakpoint is hit. I also used to add `; say "tests are done"` to my test command so I could go to another screen and know when my tests finished.
Re: Ask HN: Does anyone use sound effects in their dev environment?
#20I configured my Xcode behaviors to play a sound when a build is completed or when the test fails/passes.