Re: playing short tune via beep

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]