Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8990329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:28:42+00:00 2026-06-15T22:28:42+00:00

I have searched on [DartLang and Beep] and have found only various HTML5 solutions

  • 0

I have searched on [DartLang and Beep] and have found only various HTML5 solutions that require a sound file. I would like to do a as basic and as universal a “Bell” sound as possible without using a sound file. (I’m using Ubuntu and there is a System beep function that reports the following when I call it with -h:

Usage:
beep [-f freq] [-l length] [-r reps] [-d delay] [-D delay] [-s] [-c] [–verbose | –debug] [-e device]

However, again, I just want to do this in as simple and universal a way as possible.

There is also this clue:

7 00/07 07 07 BEL (Ctrl-G) BELL (Beep)

…but nothing I could think of doing with the print() function would cause a beep.

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T22:28:44+00:00Added an answer on June 15, 2026 at 10:28 pm

    I don’t know why are you doing this, but it really depends on whether you want this to work on the browser or on the console.

    If you want to do this on the console, try this:

    main() {
      print(new String.fromCharCodes([0x07]));
    }
    

    It beeps for me at least on Windows. It should work if the terminal supports it (and it’s not disabled by the user and so forth).

    If you want to do this on the browser, you should play a sound file.

    Here’s a free beep sound: http://www.freesound.org/people/SpeedY/sounds/3062/

    A very simple example on the browser:

    new AudioElement("path/to/beep.wav")
      ..autoplay = true
      ..load();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have searched and found a couple of solutions on this site, that didn't
I have searched for this, and i found that for api less than 12,
I have searched here and found the assertion that no single application may occupy
I have searched various online resources and found conflicting information about the possibility of
I have searched up and down on this and found a few that were
I have searched for a general solution to this but only find answers to
I have searched up and down the internet for a jQuery widget that does
I have searched stackoverflow for a question like mine but most of the questions
I have searched a lot and couldn't found the approach to create the small
I have searched this on the internet, but have found no solution... Here is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.