hammack wrote:
> 
> The bell:
> You can use a script with the echo $'\a'.  I did the following
> #bell
> # make the iteration length as desired or put in another line after the echo
> with
> # a call to another bell but with a different name.  I did a recursive call
> and the bell
> # continued and then a note came up "out of system resources".   I control
> c'd out.
> for I in 1 2 ......
>    do
>       echo $ '\a'
              ^
Had to remove this space.
Eric :-)

> 
> ----- Original Message -----
> From: "Erik Steffl" <[EMAIL PROTECTED]>
> To: <debian-user@lists.debian.org>
> Sent: Friday, April 06, 2001 12:31 PM
> Subject: Re: command for system beep?
> 
> > Robert Voigt wrote:
> > >
> > > I want to write a shell script that beeps on a certain event. I don'
> want the
> > > output from the soundcard but from the system speaker, like when I do
> >
> >   printf "ring a bell\a\n"
> >
> >   it should work with both c printf function and printf program.
> >
> > > something wrong. But it would be nice if I could make the sound shorter
> or
> > > longer than that, or two short sounds. What's the command for that?
> > > Btw, my system speaker seems too loud. Is there a way to control the
> volume
> > > in software (I haven't found it in the BIOS setup)?
> >
> >   not really but there are some speaker audio drivers that do some black
> > magic so that it is possible to play audio files over system speaker
> > (it's not exactly CD quality, it has about 4 bits, maybe even less). I
> > don't think you want to go there:-)
> >
> > erik
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to