long beep?
am 23.12.2007 06:33:11 von tienchi
Hello all,
$ echo -e "\a" # this will get a beep sound.
if i want a long beep non-stop sound???
thanks.
Junmin
--
Posted via a free Usenet account from http://www.teranews.com
Re: long beep?
am 23.12.2007 08:04:04 von Bill Marcum
On 2007-12-23, Junmin H. wrote:
>
>
> Hello all,
>
> $ echo -e "\a" # this will get a beep sound.
>
> if i want a long beep non-stop sound???
>
>
> thanks.
>
> Junmin
>
The only portable shell solution would be to use more "\a"s. If you are
using X11, "xset b" can set the duration and pitch of the beep. On a
Linux console, "setterm" does the same.
Re: long beep?
am 23.12.2007 13:18:12 von Tony Winslow
Bill Marcum wrote:
> On 2007-12-23, Junmin H. wrote:
>>
>> Hello all,
>>
>> $ echo -e "\a" # this will get a beep sound.
>>
>> if i want a long beep non-stop sound???
>>
>>
>> thanks.
>>
>> Junmin
>>
> The only portable shell solution would be to use more "\a"s. If you are
> using X11, "xset b" can set the duration and pitch of the beep. On a
> Linux console, "setterm" does the same.
I can't hear the beep sound using 'echo -e "\a\a\a\a"'.
Re: long beep?
am 24.12.2007 20:17:32 von james19390
On Dec 23, 7:18 am, Tony Winslow wrote:
> Bill Marcum wrote:
> > On 2007-12-23, Junmin H. wrote:
>
> >> Hello all,
>
> >> $ echo -e "\a" # this will get a beep sound.
>
> >> if i want a long beep non-stop sound???
>
> >> thanks.
>
> >> Junmin
>
> > The only portable shell solution would be to use more "\a"s. If you are
> > using X11, "xset b" can set the duration and pitch of the beep. On a
> > Linux console, "setterm" does the same.
>
> I can't hear the beep sound using 'echo -e "\a\a\a\a"'.
Maybe this:
for ((i=1;i<=30;i++)); do
echo -e "\a"
sleep .01
done
Re: long beep?
am 25.12.2007 04:00:10 von jellybean stonerfish
On Sun, 23 Dec 2007 05:33:11 +0000, Junmin H. wrote:
> Hello all,
>
> $ echo -e "\a" # this will get a beep sound.
>
> if i want a long beep non-stop sound???
>
>
> thanks.
>
> Junmin
>
Try beep. A nice little program for beeping with adjustable pitches and
lengths.
If you can compile, try: http://www.johnath.com/beep/
If you can't compile there may be an rpm here
ftp://ftp.falsehope.com/pub/beep/
or
ftp://ftp.freshmeat.net/pub/rpms/beep/
stonerfish
Re: long beep?
am 25.12.2007 20:03:50 von franzi
On 25 Dic, 04:00, jellybean stonerfish
wrote:
> On Sun, 23 Dec 2007 05:33:11 +0000, Junmin H. wrote:
> > Hello all,
>
> > $ echo -e "\a" =A0# this will get a beep sound.
>
> > if i want a long beep non-stop sound???
>
> > thanks.
>
> > Junmin
>
> Try beep. =A0A nice little program for beeping with adjustable pitches and=
> lengths.
>
> If you can compile, try: =A0 =A0http://www.johnath.com/beep/
>
> If you can't compile there may be an rpm here
>
> ftp://ftp.falsehope.com/pub/beep/
>
> or
>
> ftp://ftp.freshmeat.net/pub/rpms/beep/
>
> stonerfish
are those posix solution?