Questions tagged [system-sounds]
80 questions
155
votes
17 answers
Stop the 'Ding' when pressing Enter
I have a very simple Windows Forms Application. And, in Windows (or, atleast Windows Forms Applications), when you press Enter while inside a Single-line TextBox Control, you hear a Ding. It's an unpleasent sound, that indicated you cannot enter a…

bendr
- 2,415
- 6
- 19
- 24
17
votes
2 answers
System Sounds in Java
I'm trying to code an error dialog, and I want it to call the proper system-specified sound. Is there any way to access system sounds from Java (i.e. Startup sound, default beep, asterisk, critical stop, etc.)?
Note: I know about…

Ky -
- 30,724
- 51
- 192
- 308
14
votes
4 answers
Selecting sounds from Windows and playing them
I have a WinForms app. This app has a Preferences section where the user will be able to select which sounds are played when an alert is being displayed.
Is it possible to have a combobox where the user can select from the Windows stored sounds such…

Funky
- 12,890
- 35
- 106
- 161
11
votes
2 answers
What are the system sounds for AudioServicesPlaySystemSound?
This is just a question that came off of the top of my head, but does anyone know if there are more sounds built into the system besides the (0x450) click sound? I would assume that there are others that can be put into apps since there are a lot…

cory ginsberg
- 2,907
- 6
- 25
- 37
8
votes
1 answer
Android NFC: enable and disable the NFC detected sounds
I am dealing with NFC tags. My problem is that I cannot turn off the sound when NFC tags are detected. I started my research and also started getting confused:
Turn off device's NFC sound
Prevent alert tone when scanning / identifying an NFC…

Luong Truong
- 1,953
- 2
- 27
- 46
7
votes
2 answers
iOS System Sound not being played
I am trying to implement playing of system sound in my app running on iOS 10.3.1
The problem i am experiencing is that when i am in viewDidLoad, when the app is being debugged, the sound is being played. When the app is running normally, it is…

Borce Ivanovski
- 561
- 1
- 4
- 23
7
votes
1 answer
How can I mute incoming iPhone text messages programmatically?
I'm currently trying to use the AVSystemController private framework to mute system noises based on the user's selection. I'm currently muting phone calls by calling: [(AVSystemController object) setVolumeTo:0.0 forCategory:@"Ringtone"];
Is there a…

Jessica
- 249
- 5
- 12
6
votes
6 answers
AudioServicesPlaySystemSound not playing any sound in iOS 8 device
I have AVFoundation and AudioToolbox frameworks added to my project. In the class from where I want to play a system sound, I #include and I call AudioServicesPlaySystemSound(1007);. I'm testing in a device running iOS…

AppsDev
- 12,319
- 23
- 93
- 186
5
votes
2 answers
A system sound ignores volume level
I am working on the game. And I have some issue with sounds.
I use system sounds to acknowledge a player, when he/she presses a button. These sounds respect the volume set by a player, when other sounds are playing (I use AVAudioPlayers and…

Aleksejs Mjaliks
- 8,647
- 6
- 38
- 44
4
votes
4 answers
Getting the system audio levels in Java
How does one get the master volume in Java? I want to make a program that displays (NOT CHANGE) this value (probably on a JProgressBar or something similar) as a percentage of the maximum setting. I might also want to display the current sound level…

Ky -
- 30,724
- 51
- 192
- 308
4
votes
1 answer
Sound picker / List of system sounds on macOS
Okay. I was looking for a neat way to list system sounds that are played with [NSSound soundNamed: ] - and to me it seemed that API does not have list of available sounds.
I also searched this with google and found some pretty old and partially…

jake1981
- 303
- 3
- 11
3
votes
0 answers
Override usb or power cable connection sound in android device
Is there any way to
override the default sound that is made when an usb cable or power cable is connected to an android device ?
I am looking for a way to replace that default system sound with one of my own or even disable the sound completely.…

sandyiscool
- 561
- 2
- 9
3
votes
1 answer
How do I play system sound in flutter
I want to play a "beep" sound from flutter.
I did try to use SystemSound.play but it doesn't seem to work.
Please help!.thank in advance.
Future play(SystemSoundType type) async {
await SystemChannels.platform.invokeMethod(
…

Natthapol Maneechote
- 91
- 1
- 9
3
votes
0 answers
How to using sndPlaySound function to play "empty the recycle bin" sound by using It's alias?
For some reasons, I want to play a system sound which is named "EmptyRecycleBin" in my program when a file has been deleted.
So I wrote these code:
Code1
[DllImport("winmm.dll", EntryPoint = "sndPlaySound")]
[return:…

differentrain
- 61
- 2
3
votes
2 answers
How to disable windows sounds in WPF listbox?
I made a styled listbox in WPF, whenever someone clicks an element or presses an arrow key in my listbox, windows plays its "select sound".
This is not appropriate in this specific listbox, how can I disable it?
Or how can I disable all the "default…

Riki
- 1,776
- 1
- 16
- 31