rhollerith_dot_com comments on The 5-Second Level - Less Wrong

111 Post author: Eliezer_Yudkowsky 07 May 2011 04:51AM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (310)

You are viewing a single comment's thread. Show more comments above.

Comment author: rhollerith_dot_com 10 May 2011 05:50:51AM *  1 point [-]

I'll tell you what I do even though it is far from ideal.

I have the program play a sound file to notify me. Sound is not the best way for a program to notify me because I have a habit of taking off my headphones, but leaving them plugged in.

After you install the free app "Adium" you can find some nice chimes in /Applications/Adium.app/Contents/Resources/Sounds/

I use the following command line to play a chime:

open -a VLC /Applications/Adium.app/Contents/Resources/Sounds//TokyoTrainStation.AdiumSoundset/Contact_On.m4a

Of course this presupposes you have VLC installed. And the first time I play a chime, there's a delay of a few seconds while VLC loads the chime.

ADDED. I also use a visual signal as follows. In the "Hearing" tab on the Universal Access system pref pane, I check the box "Flash the screen when an alert sound occurs". I use the Emacs function DING to generate the aforementioned alert sound. Sorry, I do not know how to generate an alert sound from the shell.

Comment author: sullyj3 28 October 2014 12:53:41AM 0 points [-]

why not use mplayer for the sound?

Comment author: rhollerith_dot_com 30 October 2014 02:52:22PM 0 points [-]

These days I use /usr/bin/afplay. The advantages are (1) lightweight program that loads quickly, (2) installed by default on all Macs.