LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-13-2014, 01:35 PM   #1
parviz
LQ Newbie
 
Registered: Jul 2013
Posts: 22

Rep: Reputation: Disabled
How to make a Beep control in alsamixer?


Hello,

I am using Debian Squeeze, and I am trying to make a beep using my shell and the following command:


Code:
printf '\a'
No beep is heard, though I have a speaker and headphone on my computer.

I have found some suggested solutions on the Net as to how to make the beep. One of them reads as follows:

Steps to fix:
1) Open a command terminal (Applications->Accessories->Terminal)
2) Type "alsamixer" at the command line and press enter.
3) Use the left and right arrow keys to move across to the "Beep" control.
4) Press the 'm' key to unmute it. The box should change from 'MM' to '00'
5) Press the up and down arrow keys to select the volume for the beep.
6) Press escape to exit alsamixer, and enjoy.


There are many solutions on the Internet that suggest the same thing: unmute the Beep slider on the alsamixer. But there is no Beep control in my alsamixer.

When I press F3, or F5, different sets of sliders appear, but non contain Beep.

So, my question is: How can I make a Beep slider appear on my alsamixer?

Thanks in advance for any hint!
 
Old 03-14-2014, 08:53 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 5,831
Blog Entries: 12

Rep: Reputation: 2009Reputation: 2009Reputation: 2009Reputation: 2009Reputation: 2009Reputation: 2009Reputation: 2009Reputation: 2009Reputation: 2009Reputation: 2009Reputation: 2009
If you search a bit, you find that there are no guarantees that this works for all cases, in fact a lot more cases show that it doesn't work. There's one on stack overflow here stating that certain Linux distros don't work.

I tried to find my old code or search, but was unsuccessful for either alsactl or amixer, there was a bunch of settings I used to use on an embedded system to guarantee that sound was unmuted and volumes were set to maximum for all output interfaces; because the audio the hardware team chose was not the usual path and I used a sledge hammer approach to force all platforms to uniformly be all on.

It was like:
Code:
amixer set <pathway> volume <100 or max>
amixer set <pathway> mute off
And the pathways were what I saw when I got the properties. There were things like "master-volume" "rear-speaker".

Sorry it's been a while and I can't locate the script which did that and so only going by memory. I figured a web search would've worked, but not too much, here were a couple that I located: LinuxQuestions.Org Question, and AskUbuntu.com Question.
 
1 members found this post helpful.
Old 03-15-2014, 10:11 AM   #3
parviz
LQ Newbie
 
Registered: Jul 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
Thank you for the reply.
The post is helpful. Noting that some other fellows had to go to extremes to sound the bell, now I realize that sounding the bell might not be a trivial matter for all systems.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Use alsamixer to turn off the annoying, loud beep (aka system bell) in Debian Squeeze when you LXer Syndicated Linux News 0 01-18-2012 08:40 PM
Flash Videos beep-beep-beep Audio Quantumstate Linux - Desktop 1 07-24-2011 09:57 AM
No headphone control in alsamixer fedora_fonzie Linux - Newbie 11 11-02-2010 12:25 AM
Make computer beep mfo6463 Linux - Newbie 3 04-01-2004 06:29 AM
[SOLVED] If I make it beep it reboots. Louis_Carole Linux - Newbie 4 02-06-2004 08:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration