Difference between revisions of "Beep"

From ArchWiki
Jump to: navigation, search
m (recategorize)
m (merge request)
Line 1: Line 1:
 
[[Category:Sound]]
 
[[Category:Sound]]
 +
{{Merge|Disable PC speaker beep|...and rename to [[PC speaker]]?}}
 +
 
Beep is an advanced PC speaker beeping program. It is useful for situations where no sound card and/or speakers are available, and simple audio notification is desired.
 
Beep is an advanced PC speaker beeping program. It is useful for situations where no sound card and/or speakers are available, and simple audio notification is desired.
  

Revision as of 17:32, 31 July 2015

Merge-arrows-2.pngThis article or section is a candidate for merging with Disable PC speaker beep.Merge-arrows-2.png

Notes: ...and rename to PC speaker? (Discuss in Talk:Beep#)

Beep is an advanced PC speaker beeping program. It is useful for situations where no sound card and/or speakers are available, and simple audio notification is desired.

Installation

Install the beep package.

Configuration

By default, only root can run the beep command, but other users can be allowed to run it by changing the permissions of the beep command.

# chmod 4755 /usr/bin/beep

You should also unmute the Beep channel using alsamixer.

$ alsamixer

You may need to press F6 and select your card. scroll to the Beep channel using the arrow keys and press M to unmute the channel. notice that the "MM" label below the channel will change to "00". you can also use to increase the volume of the channel.

Press Esc to close alsamixer.

You can also save your settings to ALSA Mixer to make it permanent:

# alsactl -f /var/lib/alsa/asound.state store

Tips and Tricks

While many people are happy with the traditional beep sound, some may like to change its properties a bit. The following example plays slighly higher and shorter sound and repeats it two times.

# beep -f 5000 -l 50 -r 2

See also