Sponsored Content
Operating Systems Linux Ubuntu I can't make my pc speakers beep Post 302395028 by gaurav1086 on Sunday 14th of February 2010 11:40:27 AM
Old 02-14-2010
Quote:
Originally Posted by Sapfeer
I don't know why, but when I issue echo -e '\a' or beep. I get only some sound, set in my OS (Ubuntu Karmic). I tried to run these on Lenovo Y510KA and Lenovo S10-2. Is there another way to make my laptops beep?..

Hello I am using Debian Lenny.

You can directly write something to your sound device which in my case is /dev/dsp (same in yours for ubuntu , I feel)

Code:
echo 'blah blah blah....' > /dev/dsp

You will hear different patterns of sound for different inputs.

Regards,
Gaurav.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

no beep in shell??

hiho, who has an idea how i can tell my shell that it should not beep on errors or when i'm using the TAB in bash to complete noone needs to know when i make mistakes ;-) solaris 9 (SPARC) bash 2.05 thx a lot Preßy (1 Reply)
Discussion started by: pressy
1 Replies

2. HP-UX

Turn off awful beep

. (1 Reply)
Discussion started by: Driver
1 Replies

3. UNIX for Dummies Questions & Answers

Need to shut off beep

I need to know how to turn off the beep in my unix environment. I tried with the Common Desktop Environment on solaris but it didn't work. I used to know the environment variable to set but I have forgotten it. (1 Reply)
Discussion started by: jpedicone
1 Replies

4. UNIX for Dummies Questions & Answers

How do I make 'tail -f' beep?

Hi, I'm moniroting numerous logs in my new job (tail -f JOE.log | grep ALERT) and I want to be able to make the Terminal BEEP when ever something comes up. Is this something I can do easily? Any help with the above (or an alternative) would be appreciated, so I can stop staring at the... (1 Reply)
Discussion started by: the_big_v
1 Replies

5. UNIX for Dummies Questions & Answers

Using gzip and my speakers have gone mad!

Hello, I wanted to compress a directory which I did with: tar -czvf backup15062007.tar.gz backup15062007/ I knew that you could specify the compression level with gzip so I then did: gzip -cvf9 backup15062007.tar.gz backup15062007compress.tar.gz Now I know this probably won't... (5 Replies)
Discussion started by: patwa
5 Replies

6. Red Hat

Speakers not working....

Hi, i recently installed realtek sound driver software in my system, but after installing it,the speakers are not working.... I'm using fedora 13(x86_64). i just want to make my system speak,like before.... how to make my speakers work ? Anyone please reply.... its really annoying to work... (16 Replies)
Discussion started by: pradeeprajkumar
16 Replies

7. Slackware

System audible beep

I have tried everything with sounds on Slackware and after over a decade am at the end of it. I have uncommented /sbin/modprobe pcspkr in rc.modules. I have commented blacklist pcspkr in /etc/modprobe.d/blacklist.conf I have set bell-style audible in /etc/inputrc and I still can't get echo... (3 Replies)
Discussion started by: slak0
3 Replies
muroar_beep(3)						    muRoar Programmer's Manual						    muroar_beep(3)

NAME
muroar_beep - Send notify beep to RoarAudio sound daemon SYNOPSIS
#include <muroar.h> int muroar_beep (muroar_t fh); DESCRIPTION
This function sends a notify beep to the sound daemon fh is connected to. fh need to be connected using muroar_connect(3) to a sound server supporting the RoarAudio protocol and the BEEP command. RETURN VALUE
On success this call return 0. On error, -1 is returned. NOTES
The beep is canceld at the server side as soon as the connection is closed. This means that you should not close the connection before the beep is played completely. BUGS
This commands requests the server for a default beep. No other kind of beep can be send. There is in addition no way to tell the actual length of the beep. The application should at least wait a bit more than 512ms before closing the socket. In case possible it is good to wait a minimum of about one secound to be really sure the beep ended. HISTORY
This function first appeared in muRoar version 0.1rc2. SEE ALSO
muroar_connect(3), muroar_quit(3), RoarAudio(7). muRoar April 2012 muroar_beep(3)
All times are GMT -4. The time now is 08:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy