Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

264
Views
Web API for default beep/ding/warning/alert/buzz/no-no sound

On most platforms, there is some sort of "no" sound when some sort of exceptional thing or alert occurs.

On Windows, we had the classic ding sound, with now a more friendly sound accompanying the notification bar. On OS X, we have the donk sound, that goes with alert boxes. Even on mobile with the speakers muted, we typically end up a short vibration motor pulse.

Is there a browser API for triggering this sort of "default" attention-seeking sound or vibration without popping up an alert box or notification?

(Note: I realize we can play sounds with the audio element and Web Audio API, and I also realize there is an experimental API for buzzing the vibration motor. I'm not interested in managing those behaviors myself. I want to trigger the default alert sound/buzz action on whatever device/platform is in use.)

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

There is no way to do this in any browser as of the time of writing (except for vibration on supported devices/browsers). An alternative approach is to serve a sound to the user, based on the user-agent (used for detecting the device) using the audio api (though if you don't want to manage this behaviour yourself, this is obviously a straight no unless there is a pre-existing library somehwere).

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!