* Re: playing short tune via beep
@ Martin McCormick
` Kirk Reiser
` Janina Sajka
0 siblings, 2 replies; 18+ messages in thread
From: Martin McCormick @ UTC (permalink / raw)
To: Linux for blind general discussion
"John Heim" writes:
>I chose to have the monitoring server beep because that takes only a kernel
>module and the PC speaker to work. It doesn't need a sound card, speakers,
>alsa, or a synth.
I must be missing that module. Is this the module
referred to in the sound/Kconfig file in the kernel source? It says:
> I'm told that even without a sound card, you can make your computer
> say more than an occasional beep, by programming the PC speaker.
> Kernel patches and supporting utilities to do that are in the pcsp
> package, available at <ftp://ftp.infradead.org/pub/pcsp/>.
I recently installed beep on 4 Dell systems. Each uses a
2.6.5 kernel I built since each system has a CD berner and ALSA.
All of that works properly.
If one tells the P.C. to beep at 3 KHZ for 10 seconds,
the system does pause for ten seconds but there is no sound from
the small speaker.
I know from programming in assembler in DOS that the
speaker has a timer/counter IC driving it and you can either
send a tone or a steady DC signal depending upon which bits in
the timer control registers you set or clear.
I don't recall seeing any modules in the kernel that
mentioned the P.C. speaker which is why I am asking the
question.
When I installed beep, I did set the suid bit to root
because each of the systems in question has a serial console and
that is what the man page recommends one do in that case.
There are no errors or complaints, but no beeps either.
The systems do beep during booting and grub beeps. After
that, there is never another sound from the timer counter system
until the next reboot.
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department Network Operations Group
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: playing short tune via beep
playing short tune via beep Martin McCormick
@ ` Kirk Reiser
` Janina Sajka
1 sibling, 0 replies; 18+ messages in thread
From: Kirk Reiser @ UTC (permalink / raw)
To: Linux for blind general discussion
With the 2.6.xx kernels the pc speaker code has been moved to
drivers/input/misc so you need to build it as a module or build it in
there. That caught a lot of people out when they made the change.
You can fix it up with make menuconfig or make config.
Good luck.
Kirk
Kirk Reiser The Computer Braille Facility
e-mail: kirk@braille.uwo.ca University of Western Ontario
phone: (519) 661-3061
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: playing short tune via beep
playing short tune via beep Martin McCormick
` Kirk Reiser
@ ` Janina Sajka
` Andor Demarteau
1 sibling, 1 reply; 18+ messages in thread
From: Janina Sajka @ UTC (permalink / raw)
To: Linux for blind general discussion
Martin McCormick writes:
... snip snip ...
> I don't recall seeing any modules in the kernel that
> mentioned the P.C. speaker
modprobe pcspkr
hth
Janina
^ permalink raw reply [flat|nested] 18+ messages in thread* Re: playing short tune via beep
` Janina Sajka
@ ` Andor Demarteau
` Geoff Shang
0 siblings, 1 reply; 18+ messages in thread
From: Andor Demarteau @ UTC (permalink / raw)
To: Linux for blind general discussion
On Tue, 11 Mar 2008, Janina Sajka wrote:
> Martin McCormick writes:
> ... snip snip ...
> > I don't recall seeing any modules in the kernel that
> > mentioned the P.C. speaker
>
> modprobe pcspkr
and don't forget to set the correspoinding mixer correct, specially in
alsa.
a central C is 440hz so you could calculate the rest and play a trye
melodie like you could do in gwbasic zo long ago :)
> hth
>
> Janina
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>
--
Andor Demarteau E-mail: andor@nl.linux.org
student computer science www: http://www.nl.linux.org/~andor
UU based & VU guest-student jabber,icq,msn,voip: do ask ;)
-----------
^ permalink raw reply [flat|nested] 18+ messages in thread* Re: playing short tune via beep
` Andor Demarteau
@ ` Geoff Shang
` Andor Demarteau
0 siblings, 1 reply; 18+ messages in thread
From: Geoff Shang @ UTC (permalink / raw)
To: Linux for blind general discussion
Andor Demarteau wrote:
> a central C is 440hz so you could calculate the rest and play a trye
> melodie like you could do in gwbasic zo long ago :)
440Hz is A, not C. It is the A above middle C on a piano.
Geoff.
^ permalink raw reply [flat|nested] 18+ messages in thread* Re: playing short tune via beep
` Geoff Shang
@ ` Andor Demarteau
` John Heim
0 siblings, 1 reply; 18+ messages in thread
From: Andor Demarteau @ UTC (permalink / raw)
To: Linux for blind general discussion
On Tue, 11 Mar 2008, Geoff Shang wrote:
> Andor Demarteau wrote:
>
> > a central C is 440hz so you could calculate the rest and play a trye
> > melodie like you could do in gwbasic zo long ago :)
>
> 440Hz is A, not C. It is the A above middle C on a piano.
ofcourse, how stupid of me :(
> Geoff.
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>
--
Andor Demarteau E-mail: andor@nl.linux.org
student computer science www: http://www.nl.linux.org/~andor
UU based & VU guest-student jabber,icq,msn,voip: do ask ;)
-----------
^ permalink raw reply [flat|nested] 18+ messages in thread* Re: playing short tune via beep
` Andor Demarteau
@ ` John Heim
0 siblings, 0 replies; 18+ messages in thread
From: John Heim @ UTC (permalink / raw)
To: Linux for blind general discussion
----- Original Message -----
From: "Andor Demarteau" <andor@nl.linux.org>
To: "Linux for blind general discussion" <blinux-list@redhat.com>
Sent: Tuesday, March 11, 2008 3:11 PM
Subject: Re: playing short tune via beep
> On Tue, 11 Mar 2008, Geoff Shang wrote:
>
> > Andor Demarteau wrote:
> >
> > > a central C is 440hz so you could calculate the rest and play a trye
> > > melodie like you could do in gwbasic zo long ago :)
> >
> > 440Hz is A, not C. It is the A above middle C on a piano.
> ofcourse, how stupid of me :(
Wow... It's amazing how long this thread has survived. Every few weeks, it
comes back.
I was hoping somebody would already have some tunes they'd written with
beep. But I eventually put together some tunes by just experimenting with
parameters. And it works really well, In fact, my beep-alarm on my computer
at home went off at 3:00 AM this morning. I had configured my linux box at
home to trigger an alarm if it couldn't get status info from the apache
server at work. As it turned out, it was just that my ISP had changed my IP
address in the middle of the night and the status page on the apache server
is restricted by IP. When the apache server rejected the request for status
info because it came from an unrecognized IP, that triggered the alarm.
It was kind of a pain but I was gratified to know the system is working.
The tunes I wrote are supposed to sound like bird songs. The first 3 notes
of a robin song "cheer-e-o" signals trouble. The first 2 notes of a cardinal
song, "right here!", signals a recovery. And the 4 notes of a white throated
sparrow, "oh canada", mean unknown error.
The status checks are done via a package called nagios. I wrote a plug-in
for nagios to download the server-status document from an apache server and
parse it. So with this plug-in, you can configure nagios to trigger an alarm
if the number of apache sub-processes goes over some limit. This could
indicate that the server is close to being over loaded. Of course, the alarm
would also go off if it can't get the status info at all.
Nagios is really cool though. I will have to configure it so it doesn't
check between 11 PM and 6 AM. There is nothing I can do if there is a
problem during those hours anyway.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: playing short tune via beep
@ Martin McCormick
0 siblings, 0 replies; 18+ messages in thread
From: Martin McCormick @ UTC (permalink / raw)
To: Linux for blind general discussion
It works. I installed the newly-built kernel on 3
systems, all older Dells of various but similar configuration.
One worked immediately after rebooting. One hasn't
worked yet, and the other one is the reason for this message.
It seems that the timer/counter signal on this one
system is run as an analog input to the sound chip. This
particular set of simple mixer controls has one that is called
"mono output" and another control just called plain old mono.
The "mono output" control will route sound chip audio
from either channel to the little internal speaker.
The control labeled "mono" turns out to be the output
from the timer/counter or classic P.C. speaker.
It started working as soon as I turned it on and cranked
up the volume. This means that the beeps can go to one's main
speakers or headphones. The internal speaker will respond to
both the sound card as well as the timer/counter once you have
that switch on.
There are lots of variations even among the same
computers so if you have one that isn't beeping but should be,
check the simple mixer controls to see if one of them lets
timer/counter audio through.
Unfortunately, some P.C.'s have no speaker or somebody
disconnected it for some reason so you will have to be a good
diagnostician.
Martin McCormick
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: playing short tune via beep
@ Martin McCormick
0 siblings, 0 replies; 18+ messages in thread
From: Martin McCormick @ UTC (permalink / raw)
To: Linux for blind general discussion
Kirk Reiser writes:
>With the 2.6.xx kernels the pc speaker code has been moved to
>drivers/input/misc so you need to build it as a module or build it in
>there. That caught a lot of people out when they made the change.
>You can fix it up with make menuconfig or make config.
make menuconfig is exactly what I do so a thousand
thanks!
This is a very good feature to have because one can make
audible graphics so to speak such as a tone that gets higher
based on a value. Any hams on this list who have ever used an
audio gimic to read an analog meter to set a peak or who have
ever used a light probe know that sometimes, all you need to
know is whether a reading is increasing, decreasing or steady.
It's sort of the old kid's game of getting warmer or getting
colder.
Martin McCormick
^ permalink raw reply [flat|nested] 18+ messages in thread
* playing short tune via beep
@ John Heim
` Tim Chase
` Janina Sajka
0 siblings, 2 replies; 18+ messages in thread
From: John Heim @ UTC (permalink / raw)
To: Linux for blind general discussion
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?
--
John Heim
jheim@math.wisc.edu / 608-263-4189
If you are blind and you use linux, please subscribe to
blinux-list@redhat.com
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: playing short tune via beep
John Heim
@ ` Tim Chase
` Janina Sajka
1 sibling, 0 replies; 18+ messages in thread
From: Tim Chase @ UTC (permalink / raw)
To: Linux for blind general discussion
> I'd like it to play a couple of different short tunes via the
> beep command depending on the temperature.
How's your Morse code? Do you have perfect pitch? You can do
something like
=[begin script]================================
#!/bin/sh
# saved as sos.sh
SEVERITY_PITCH=${1:-440}
DOT=100
DASH=500
DELAY=25
beep -f $SEVERITY_PITCH -l $DOT -r 3 -d $DELAY
beep -f $SEVERITY_PITCH -l $DASH -r 3 -d $DELAY
beep -f $SEVERITY_PITCH -l $DOT -r 3 -d $DELAY
=[end script]==================================
You might have to toss in some "sleep" calls for inter-letter
timings.
The script *should* be callable with
sos.sh 880
for a high-C and with no parameter for a concert C (440, IIUC)
The hotter your processor, the higher-pitched you could make this.
-tim
^ permalink raw reply [flat|nested] 18+ messages in thread* Re: playing short tune via beep
John Heim
` Tim Chase
@ ` Janina Sajka
` John Heim
1 sibling, 1 reply; 18+ messages in thread
From: Janina Sajka @ UTC (permalink / raw)
To: Linux for blind general discussion
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
^ permalink raw reply [flat|nested] 18+ messages in thread* Re: playing short tune via beep
` Janina Sajka
@ ` John Heim
` John Heim
` Janina Sajka
0 siblings, 2 replies; 18+ messages in thread
From: John Heim @ UTC (permalink / raw)
To: Linux for blind general discussion
Thanks. That's pretty close to what I was hoping for.
I'm setting up a bunch of servers that I'll be monitoring via nagios and
snmp. The nagios server is in my office so i want it to beep distinctively
depending on what is wrong. I guess i'll have to experiment with beep until
I get what I want. I started doing that but it's kind of a pain. So examples
like yours help.
I've also been toying with the idea of connecting a modem to the nagios
server and having it call my cell if something is really, really wrong. I
could easily get it to dial the phone but I have no idea how to send some
kind of audio file. i would imagine that's possible since telemarketers do
it all the time.
----- Original Message -----
From: "Janina Sajka" <janina@rednote.net>
To: "Linux for blind general discussion" <blinux-list@redhat.com>
Sent: Tuesday, December 18, 2007 9:29 AM
Subject: Re: playing short tune via beep
> 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@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>
>
^ permalink raw reply [flat|nested] 18+ messages in thread* Re: playing short tune via beep
` John Heim
@ ` John Heim
` Janina Sajka
1 sibling, 0 replies; 18+ messages in thread
From: John Heim @ UTC (permalink / raw)
To: Linux for blind general discussion
Here are some short tunes modelled after bird songs. I am not too happy with
the robin alias. I think the sparrow (it's a White Throated Sparrow) is very
good. Let me know what you think:
alias sparrow="beep -f 500 -l 300 -D 50 -n -f 600 -l 300 -d 50 -r 3"
alias robin="beep -f 400 -l 250 -D 1 -n -f 700 -l 200 -D 1 -n -f 300 -l 500"
alias cardinal="beep -f 750 -l 300 -D 40 -n -f 600 -l 400"
^ permalink raw reply [flat|nested] 18+ messages in thread* Re: playing short tune via beep
` John Heim
` John Heim
@ ` Janina Sajka
` Valiant (on laptop)
1 sibling, 1 reply; 18+ messages in thread
From: Janina Sajka @ UTC (permalink / raw)
To: Linux for blind general discussion
John Heim writes:
> Thanks. That's pretty close to what I was hoping for.
>
> I'm setting up a bunch of servers that I'll be monitoring via nagios and
> snmp. The nagios server is in my office so i want it to beep distinctively
> depending on what is wrong. I guess i'll have to experiment with beep
> until I get what I want. I started doing that but it's kind of a pain. So
> examples like yours help.
Anytime.
When I was creating these, I had a list of frequencies that
corresponding, approximately, to musical pitches. So, I would simply
invent melodic fragments and play with durations until it seemed about
what I wanted.
>
> I've also been toying with the idea of connecting a modem to the nagios
> server and having it call my cell if something is really, really wrong. I
> could easily get it to dial the phone but I have no idea how to send some
> kind of audio file. i would imagine that's possible since telemarketers do
> it all the time.
>
Do you ave accessible texting on your phone? You might more easily use
a SMS gateway to send a text message. If you did that, you wouldn't need
a payload in any telephone call. Your modem reinging your phone could
simply function as an alarm. And, you'd know who the call came from via
caller ID, so you'd know to check your SMS for the situation message.
Janina
> ----- Original Message ----- From: "Janina Sajka" <janina@rednote.net>
> To: "Linux for blind general discussion" <blinux-list@redhat.com>
> Sent: Tuesday, December 18, 2007 9:29 AM
> Subject: Re: playing short tune via beep
>
>
>> 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@redhat.com
>> https://www.redhat.com/mailman/listinfo/blinux-list
>>
>>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
--
Janina Sajka, Phone: +1.202.595.7777; sip:janina@a11y.org
Partner, Capital Accessibility LLC http://CapitalAccessibility.Com
Marketing the Owasys 22C talking screenless cell phone in the U.S. and Canada
Learn more at http://ScreenlessPhone.Com
Chair, Open Accessibility janina@a11y.org
Linux Foundation http://a11y.org
^ permalink raw reply [flat|nested] 18+ messages in thread* Re: playing short tune via beep
` Janina Sajka
@ ` Valiant (on laptop)
` Lee Maschmeyer
` John Heim
0 siblings, 2 replies; 18+ messages in thread
From: Valiant (on laptop) @ UTC (permalink / raw)
To: Linux for blind general discussion
Hi.
another huber cool thought of mine is to get a tts synth to just say what
the problem is. grins
----- Original Message -----
From: "Janina Sajka" <janina@rednote.net>
To: "Linux for blind general discussion" <blinux-list@redhat.com>
Sent: Wednesday, January 23, 2008 9:59 AM
Subject: Re: playing short tune via beep
> John Heim writes:
>> Thanks. That's pretty close to what I was hoping for.
>>
>> I'm setting up a bunch of servers that I'll be monitoring via nagios and
>> snmp. The nagios server is in my office so i want it to beep
>> distinctively
>> depending on what is wrong. I guess i'll have to experiment with beep
>> until I get what I want. I started doing that but it's kind of a pain. So
>> examples like yours help.
>
>
> Anytime.
>
> When I was creating these, I had a list of frequencies that
> corresponding, approximately, to musical pitches. So, I would simply
> invent melodic fragments and play with durations until it seemed about
> what I wanted.
>
>>
>> I've also been toying with the idea of connecting a modem to the nagios
>> server and having it call my cell if something is really, really wrong. I
>> could easily get it to dial the phone but I have no idea how to send some
>> kind of audio file. i would imagine that's possible since telemarketers
>> do
>> it all the time.
>>
> Do you ave accessible texting on your phone? You might more easily use
> a SMS gateway to send a text message. If you did that, you wouldn't need
> a payload in any telephone call. Your modem reinging your phone could
> simply function as an alarm. And, you'd know who the call came from via
> caller ID, so you'd know to check your SMS for the situation message.
>
> Janina
>
>> ----- Original Message ----- From: "Janina Sajka" <janina@rednote.net>
>> To: "Linux for blind general discussion" <blinux-list@redhat.com>
>> Sent: Tuesday, December 18, 2007 9:29 AM
>> Subject: Re: playing short tune via beep
>>
>>
>>> 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@redhat.com
>>> https://www.redhat.com/mailman/listinfo/blinux-list
>>>
>>>
>>
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/blinux-list
>
> --
>
> Janina Sajka, Phone: +1.202.595.7777; sip:janina@a11y.org
> Partner, Capital Accessibility LLC http://CapitalAccessibility.Com
>
> Marketing the Owasys 22C talking screenless cell phone in the U.S. and
> Canada
> Learn more at http://ScreenlessPhone.Com
>
> Chair, Open Accessibility janina@a11y.org
> Linux Foundation http://a11y.org
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
^ permalink raw reply [flat|nested] 18+ messages in thread* Re: playing short tune via beep
` Valiant (on laptop)
@ ` Lee Maschmeyer
` John Heim
1 sibling, 0 replies; 18+ messages in thread
From: Lee Maschmeyer @ UTC (permalink / raw)
To: Linux for blind general discussion
>another huber cool thought of mine is to get a tts synth to just say what
>the problem is. grins
Fantastic! You get to buy it!
--
Lee Maschmeyer
<lee_maschmeyer@wayne.edu>
"Be kind to your fur-bearing friends,
For a skunk may be somebody's brother."
--Fred Allen
^ permalink raw reply [flat|nested] 18+ messages in thread* Re: playing short tune via beep
` Valiant (on laptop)
` Lee Maschmeyer
@ ` John Heim
1 sibling, 0 replies; 18+ messages in thread
From: John Heim @ UTC (permalink / raw)
To: Linux for blind general discussion
I chose to have the monitoring server beep because that takes only a kernel
module and the PC speaker to work. It doesn't need a sound card, speakers,
alsa, or a synth. Since this is a monitoring system, reliability is key.
Having the monitoring server calling me via a modem isn't going to be all
that reliable either but I can't come up with a more reliable alternative.
If the network is down, what can a computer do to notify someone? Dial out
via the phone line I guess. That's about it.
----- Original Message -----
From: "Valiant (on laptop)" <valiant65@gmail.com>
To: "Linux for blind general discussion" <blinux-list@redhat.com>
Sent: Wednesday, January 23, 2008 9:35 AM
Subject: Re: playing short tune via beep
> Hi.
> another huber cool thought of mine is to get a tts synth to just say what
> the problem is. grins
>
> ----- Original Message -----
> From: "Janina Sajka" <janina@rednote.net>
> To: "Linux for blind general discussion" <blinux-list@redhat.com>
> Sent: Wednesday, January 23, 2008 9:59 AM
> Subject: Re: playing short tune via beep
>
>
>> John Heim writes:
>>> Thanks. That's pretty close to what I was hoping for.
>>>
>>> I'm setting up a bunch of servers that I'll be monitoring via nagios
>>> and
>>> snmp. The nagios server is in my office so i want it to beep
>>> distinctively
>>> depending on what is wrong. I guess i'll have to experiment with beep
>>> until I get what I want. I started doing that but it's kind of a pain.
>>> So
>>> examples like yours help.
>>
>>
>> Anytime.
>>
>> When I was creating these, I had a list of frequencies that
>> corresponding, approximately, to musical pitches. So, I would simply
>> invent melodic fragments and play with durations until it seemed about
>> what I wanted.
>>
>>>
>>> I've also been toying with the idea of connecting a modem to the nagios
>>> server and having it call my cell if something is really, really wrong.
>>> I
>>> could easily get it to dial the phone but I have no idea how to send
>>> some
>>> kind of audio file. i would imagine that's possible since telemarketers
>>> do
>>> it all the time.
>>>
>> Do you ave accessible texting on your phone? You might more easily use
>> a SMS gateway to send a text message. If you did that, you wouldn't need
>> a payload in any telephone call. Your modem reinging your phone could
>> simply function as an alarm. And, you'd know who the call came from via
>> caller ID, so you'd know to check your SMS for the situation message.
>>
>> Janina
>>
>>> ----- Original Message ----- From: "Janina Sajka" <janina@rednote.net>
>>> To: "Linux for blind general discussion" <blinux-list@redhat.com>
>>> Sent: Tuesday, December 18, 2007 9:29 AM
>>> Subject: Re: playing short tune via beep
>>>
>>>
>>>> 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@redhat.com
>>>> https://www.redhat.com/mailman/listinfo/blinux-list
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Blinux-list mailing list
>>> Blinux-list@redhat.com
>>> https://www.redhat.com/mailman/listinfo/blinux-list
>>
>> --
>>
>> Janina Sajka, Phone: +1.202.595.7777; sip:janina@a11y.org
>> Partner, Capital Accessibility LLC http://CapitalAccessibility.Com
>>
>> Marketing the Owasys 22C talking screenless cell phone in the U.S. and
>> Canada
>> Learn more at http://ScreenlessPhone.Com
>>
>> Chair, Open Accessibility janina@a11y.org
>> Linux Foundation http://a11y.org
>>
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/blinux-list
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>
>
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
playing short tune via beep Martin McCormick
` Kirk Reiser
` Janina Sajka
` Andor Demarteau
` Geoff Shang
` Andor Demarteau
` John Heim
-- strict thread matches above, loose matches on Subject: below --
Martin McCormick
Martin McCormick
John Heim
` Tim Chase
` Janina Sajka
` John Heim
` John Heim
` Janina Sajka
` Valiant (on laptop)
` Lee Maschmeyer
` John Heim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).