playing short tune via beep
Janina Sajka
janina at rednote.net
Tue Dec 18 15:29:38 UTC 2007
I'm cleaning out my mailbox and came across this somewhat old post ...
John Heim writes:
> I'm writing a script to alert me if a server gets too hot. I'd like it to
> play a couple of different short tunes via the beep command depending on
> the temperature. Anybody have any beep recipes?
>
I define the following in my /etc/bashrc, then simply use wherever:
alias beep0="beep -f 330 -l 100 -d1 -n -f 277 -l 100 -d1 -n -f 330 -l
100 -d 1 -n -f 440 -l 330"
alias beep1="beep -f 55 -l 40 -d 1 -r 3"
alias beep2="beep -f 988 -l 180 -d 33 -n -f 831 -l 110"
hth
Janina
More information about the Blinux-list
mailing list