Questions tagged [beep]
247 questions
317
votes
18 answers
How do I make JavaScript beep?
I want my web page to beep whenever a user exceeds the maximum character limit of my

Slim
- 5,635
- 7
- 31
- 30
215
votes
17 answers
How to make the hardware beep sound in Mac OS X 10.6
I just want that Mac OS X 10.6 does a hardware beep sound like in open suse and other distributions. I tried following approaches
Terminal -> beep = -bash: beep: command not found
Terminal -> say beep = voice speaks out beep (Not a Hardware beep but…

elhombre
- 2,839
- 7
- 28
- 28
120
votes
6 answers
How can I make the computer beep in C#?
How do I make the computer's internal speaker beep in C# without external speakers?

a_hardin
- 4,991
- 4
- 32
- 40
60
votes
3 answers
How to disable the beep in emacs on Windows
Hi I'm new to Emacs and I downloaded GNU emacs on my windows machine. I just finished the short tutorial but I found there's a beep sound whenever I hit the beginning/end of a file and in many other cases, which is a little disturbing to me.
I…

LWZ
- 11,670
- 22
- 61
- 79
57
votes
4 answers
How do I access Android's default beep sound?
I would like to make a button play a beep sound to indicate it has been pressed. I want to know how to use the default android beep sound (like when you adjust the ringer volume), instead of importing my own mp3 music file or using ToneGenerator?

user812892
- 863
- 2
- 7
- 9
46
votes
5 answers
What is the easiest way I can create a 'beep' sound from a Ruby program?
I'm making a small ruby command line script and I wanted to know what the simplest way to have the program emit a beep is.

Daniel X Moore
- 14,637
- 17
- 80
- 92
33
votes
8 answers
Java equivalent of C# system.beep?
I am working on a Java program, and I really need to be able to play a sound by a certain frequency and duration, similarly to the c# method System.Beep, I know how to use it in C#, but I can't find a way to do this in Java. Is there some…

Glen654
- 1,102
- 3
- 14
- 18
24
votes
2 answers
Emacs: disable beep when trying to move beyond the end of the document
Is there a way to disable the beep in Emacs when trying to move the cursor beyond the beginning or end of a document? I normally wouldn't mind, but the momentum scrolling on my trackpad makes it so that it beeps a dozen times whenever I scroll to…

asmeurer
- 86,894
- 26
- 169
- 240
19
votes
3 answers
How do you get Windows PowerShell to play a sound after .bat job has finished running?
As the title states, I have a .bat job running within PowerShell that when finished running, I would like a sound notification to go off. I was wondering if there was a PowerShell command that I can add to my existing PowerShell command.

harcot
- 317
- 1
- 4
- 7
16
votes
2 answers
Java beep sound: Produce sound of some specific frequencies
I was experimenting with producing beep using Java. I found this answer on SO.
I am using the code from that answer to produce beeps. The code is:
import javax.sound.sampled.*;
public class Sound
{
public static float SAMPLE_RATE = 8000f;
…

dryairship
- 6,022
- 4
- 28
- 54
16
votes
5 answers
Beep on Linux in C
I want to generate a beep sound with a specific frequency and length (for different sound signals) using the system beeper (and only the speakers if beeper is not available / accessible). I know it is possible to do this by using ioctl, but that…

omnidan
- 1,162
- 2
- 12
- 25
15
votes
4 answers
Making A Beep in C# WPF
Is there any ways to make a beep sound in C# WPF?
I've been looking for WPF beeping, but all I could find was Beeping in normal windows form.

N.I.R.E.X
- 372
- 1
- 2
- 13
12
votes
8 answers
Disable beep of enter and escape key
I want to disable the beep sound that I get when I press enter in a TextBox. My KeyDown event is:
private void textBox_Zakljucak_KeyDown(object sender, KeyEventArgs e)
{
if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Tab))
{
…

user1788654
- 311
- 2
- 5
- 13
11
votes
1 answer
tmux - disable beep on attach/detach
I am using mcabber with beep option inside tmux. I want mcabber to beep,but don't want tmux to beep on startup, attach or detach.
# disable sound bell
set -g bell-action none
# disable visual bell
set -g visual-bell off
I found this, but this…

POMATu
- 3,422
- 7
- 30
- 42
11
votes
8 answers
PC Speaker beep via javascript?
I'm revisiting an ID scanner station program we built ages ago and I have a request from users to make a system beep. We're considering moving the system to a web browser, but is it possible to invoke a speaker beep via javascript or something? It…

jldugger
- 2,339
- 6
- 22
- 24