How to make a beep in PC speaker

Hi,
I would like to make a sound from the PC speaker where I can choose programatically the frequency and duration of the sound. I do not want to use the sound card. I do not want to play audio files.
I am looking for a method like this:
void play(float frequency, float duration);Where I could play a sound like this:
play(440, 1000);
Anyone knows a function like this?
This was possible with languages like Pascal. Java does not have access to hardware, but there must be a way, like Java can play sound on the sound card. There is an assembly function that allows that, is it possible to call it from Java?
Thank you.

Hi! That was fast.
I think I may have what you were looking for. Go check
out
http://www.superwaba-france.com/doc/waba/fx/Sound.html.
It's like they read this forum but made their site
instead of responding.
BTW, duffymo, I'm no Bhudda. I am WAY too skinny.Good for your waistline, of course, but we could all afford to be more like The Enlightened One. ;)
I couldn't resist that response. Just kidding. I'm glad to see that you didn't need the help.

Similar Messages

  • Shortcut to speak in iBooks not working! How to make it work?

    Hi everyone!
    I hope guys you will able to help me, I spent dozen portion of time to figure out how it works, but still did't move nowhere. So, my situation is:
    When I go to iBooks and I want to choose the specific word and pressing the shortcut that will normally working in any other application(any page in Safari, notes, mail and e.t.c.) and allows me to hear the word that I am choosing, but instead of this nothing is occurring! It will words only if I
    1. Go to Edit - Speech - Start speaking
    or
    2. Mark the specific work and press - More - Start Speaking
    I want to use my time efficienly and know how to make my shortcut that I was set up (System Preferences - Dictation & Speech - Change Key) will works not only in any page in Safari, notes, mail and e.t.c. but in my iBooks.
    Please help!!!

    I also have the same problem concerning window resizes etc. The stack trace produced is exactly the same as yours and the bugs sound the same.
    My program also works perfectly fine in the Microsoft JVM, but runs into problems as soon as it is run in the Sun environment.
    If you have managed to solve this problem since you posted it, could you please let me know how you did this.
    Thanks for your help and time.

  • How to make mac speak when logging on or waking up

    hi, i was wondring how you make your mac speak to you and say welcome or hello everytime you log on or wake it up.
    if anybody knows, plesae help.
    Thanks!

    A login greeting is simple.  Make a small application with Automator:
    1. Choose Application from the Automator template.
    2. Add one action: Run Shell Script.  In this action, replace cat with say welcome.
    Save the application and store it somewhere.  (The Applications folder is a good choice.)
    Open System Preferences, choose Accounts, then select the account you want to target.  In that account, select Login Items.  Drag your new application to the login item window to create a link to the file.  Close System Preferences.
    Each time that you login to that account, the application will run and the Mac will say "Welcome."   Once it becomes annoying, return to the Login Items to remove the link to your application.
    A spoken wake-up message is trickier, but it can be done.  See these discussions: https://discussions.apple.com/message/3240458 and http://hints.macworld.com/article.php?story=20060908113605812, then get a copy of SleepWatcher, http://www.bernhard-baehr.de/.

  • Verizon box in my furnace room is beeping, how to make it stop

    I do not have Verizon Fios for my cable etc. but the previous tenant did.  In the mechanical room on the patio is a Verizon box that looks like the pictures below.  It has lots of lights on it and they are mostly green but one labeled FAIL is blinking red and the box beeps about every five minutes (I think, I haven't timed it).  This has been going on for months now.  I tried calling Verizon but (of course) didn't have any success there.  Maybe it's because I started out with "I don't have an account with you, but...." Once they sort of understood what I was trying to explain they wanted to transfer me to another department (even though I called the number printed on the box) and of course that's when I got cut off.  I don't want to try again....I just want to make the beeping stop, hopefully without possibly cutting off the service to other units in the building.  Anyone got any suggestions?  (In the picture the FAIL red light is not on but that is only because it blinks and was off when I snapped the picture)
    Solved!
    Go to Solution.

    Hi bethelonia,
    While I'm not an expert in all things Verizon, I believe that each apartment unit should have its own ONT (that's the name of the box in the picture). When I look at your pictures, I notice that this does not appear to be a properly functioning box. More specifically, it appears that this box is not communicating with the network. This would lead me to believe that it is indeed a non-functioning box that has been left there by the previous tenant. It would probably be fine if you pop open the hinged cover to the upper part of the box (see pull tab off to the left side beneath the buttons and lights), unplug the battery wires from the unit, close the cover and unplug the box. This should shut the box completely off and stop it from beeping.
    Find this post helpful, informative or just something you agree with? Click the red ‘thumbs-up’ button.
    Did this post solve your problem? Click the green ‘Accept as Solution’ button.

  • 1. How to view my work full screen? 2. How to make "F" keys behave proper?

    Hello All,
    Two softball questions for FCP batting practice:
    1. Somewhere along the way, I came across an explanation on how to make my canvas full screen. I found a post mentioning View, External Video, and something about cinema (not in front of it right now). I don't have an external monitor, so how can I accomlish this on my laptop?
    2. Speaking of laptops, many of the "F" keys don't work as described in the manual. For example, F12 brings up a dashboard with weather in Cupertino, CA. Not exaclty conducive to my workflow. Is there a place to tell the MacBook Pro that when operating this application, default to the "F" commands within the software?
    Thanks All.
    DG

    Hey Steve,
    Point well taken. In the past week, I purchased a camera, Final Cut, MacPro, Mic, Lights, Tripod, etc. I have purchased two books that were recommended on this site (both excellent), and a CD tutorial. I have been out shooting every day, doing tutorials and editing (to the best of my ability) every night. All of that being said, it's a tremendous amount of information, and some of the finer points get lost. I am pleased to say that I have completed my first piece on hunger experienced by seniors in our community. Very gratifying.
    So, I fully appreciate the apparent laziness inferred from my post, but trust me, I'm fully engaged, just overwhelmed.
    Shane, thanks for "pinch hitting". Both solutions worked.
    DG

  • How to make SWF in GoLive show in IE in v5, 6 or 8

    I would like to get a Flash file to work in Internet Explorer
    v5, 6 and 8. I am creating a site and the flash clip won't play in
    these browsers (but will in IE v7). Does anyone have any ides?
    Thanks.

    EDIT: I see you mentioned that yourself but the header of your question was 'How to make SWF file work in interactive PDF'. Strictly speaking, forgetting the iPad, the answer would be: export the animation from InDesign to SWF, delete the animation and now place the exported SWF back on the page. Then export to interactive PDF.
    Still won't work on iPad however!
    On Desktop this will work in PDF *if* Flash player is installed on that desktop for Adobe reader/Acrobat 10 and later; versions 9 and earlier have 'build in' Flash players...

  • How to Make an explicit oracle connection  to a default.

    Hi Users ,
    (Pro*C code)
    I have 2 connections to oracle db using connection identifier. At one point of time, i would like to make one of the explicit connection as default, which means further along i do not want to use the "AT" clause, instead queries should default to default connection. 
    Referring to below url, it only speaks about 2 distinct explicit connections, does not mention how to convert one of the explicit connection as default. 
    [ora11 guide|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28427/pc_03dbc.htm#auto Id13]
    Is there a way to do so ? 
    Looking at google, i found a reference to a url, ora7. In section, 17.2.5, It does say how to make a connection default - by using EXEC SQL SET CONNECT connection_name. However it seems , its not supported anymore. 
    [ora7 guide|http://starlet.deltatelecom.ru/rdb$doc/oraclerdb/gsp7/gus_pro_create_conn.html]
    Antony
    Edited by: user11952222 on Sep 1, 2011 3:16 PM

    I figured it out for myself.
    So, does that mean I get the 10 points?
    fd

  • How to make uiactionsheet and uidatepickerview compatible both ios 7 and ios 8 ?

    how to make uiactionsheet and uidatepickerview compatible both ios 7 and ios 8 ?

    I do not know actually why there is no option "dock transparency". That is strange that Apple is proudly speaking about Retina display and now covers it by such big and untransparent stripe of something. I also like the display and I am strongly dissapointed seening it painted in such blurred colors. And I do not care about algorithms that are behind it and how complicated there are. It is not working for me and happy to see for most of the community. That definitively is not a dock. I would like to make it full transparent this would be more iOS7 light style. At the dock there are icons which stay all the time at the same place, why do we need something to emphasize their meaning?

  • How to make a call in j2me using bluetooth?

    Hi All,
    I wanted to make a call to another device which is in my bluetooth range i wanted to know how to make such a call?And i have heard that using bluetooth for making calls we can only do half duplex communication that is at a time only one person can speak while the other hears ?I wanted to know that can we do a full duplex communication also so that both of them can speak as well as listen at a time.
    Thanks

    To make a call using javax.microedition.midlet.MIDlet.platformRequest().
    for eg:
    String telNo = "tel:+9682651761543";
    platformRequest(telNo );

  • How to make a call in j2me using bluetooth technology?

    Hi All,
    I wanted to make a call to another device which is in my bluetooth range i wanted to know how to make such a call?And i have heard that using bluetooth for making calls we can only do half duplex communication that is at a time only one person can speak while the other hears ?I wanted to know that can we do a full duplex communication also so that both of them can speak as well as listen at a time.
    Thanks

    To make a call using javax.microedition.midlet.MIDlet.platformRequest().
    for eg:
    String telNo = "tel:+9682651761543";
    platformRequest(telNo );

  • HT5559 JAVA WITH CHROME!!! I am trying to login to my bank account at nordea.dk. This website uses somekind of java thing. Chrome cant't load it. Works perfect with Safari. How to make it work in Chrome?

    I am trying to login to my bank account at nordea.dk. This website uses somekind of java thing. Chrome cant't load it. Works perfect with Safari. How to make it work in Chrome?

    Do you speak of true blue Java or Javascript?  If the latter then it is a problem with the Browser.
    But if it is the real Java, do you have the offical version of Java from Oracle installed?
    Getting applications to see official Java is a nightmare.  If you install the Runtime Environment only (JavaRTE) most applications do not see it.
    To force offical Java system wide, I found you have to install the Java Developer Kit (JavaJDK).  It's a larger install as it also comes with documentation and compilers but it make offical Java system wide.

  • I am From Asia, Malaysia. I'm still was a student, I would like to purchase a Macbook at online With Student price. How I make the payment at online?? Am I able to used my dad's credit card?

    I am From Asia, Malaysia. I'm still was a student, I would like to purchase a Macbook at online with student price. How I make the payment at online?? Am I able to used my dad's credit card? or any proof?? Emergency ***

    http://store.apple.com/my/browse/home/education_routing
    If you have further questions about the policies and procedures for ordering, call the Malaysian Apple Store at 1800-80-6419. Everyone here is just a fellow user and cannot speak for Apple.
    Regards.

  • How to get multiple beep sound?

    Hi
    I want to get multiple beep sounds as output if a comparison condition gives output as true.
    Can anyone tell me how to get multiple beep sound?
    Solved!
    Go to Solution.

    You could make it more pleasant if you would play a different sound file based on the comparison. (look in the windows\media folder for the sounds used by the OS. Try e.g. c:\windows\media\tada.wav)
    Very few people still communicate in morse code.
    LabVIEW Champion . Do more with less code and in less time .

  • My mac book air makes 3 beeping sounds

    my macbook air is making 3 beeping sounds and has a black screen. thisnhas happened before and i got a new hardware installed. how do i make the beeping noises stop? i want to avoid spending money again to get this fixed, please help

    What have you installed on the Mac? 3 beeps indicates that memory is defective. As the memory on a MacBook Air is soldered, the only solution is to take the computer to an Apple Store or reseller. First, try to remove that hardware that you have installed

  • Lenova Think pad makes 8 beeps and screen wont turn on

    I have a black lenova thinkpad laptop and once in a while when i turn on the laptop, it makes 8 beeping noises and the screen wont turn on at all but it sounds like the laptop is on. I have tried fixing this by keeping the laptop in the fridge for a day because i think it was becaue it was over heated. Once i take it out, it works perfectly fine. But when it happens again it eally gets on my nerves and it sometimes happens at poor times when i actually NEED to use my laptop. This has happened probably over 12 times now. I have no idea how laptops work or what the different parts of them are called. So if there is a solution, please explain it in a simple manner. Thank you!

    Hello and welcome,
    Please tell us what model laptop you have.  The Hardware Maintenance Manual for you laptop probably has a "beep code" section that may help narrow down the situation.
    For example. if a T420 emits One short beep, pause, three short beeps, pause, three
    more short beeps, and one short beep. It can be a memory module or the system board.
    The beep codes may be common to all ThinkPads (I'm not sure...) but it would be good to look up the documentation specific to your machine.
    Z.

Maybe you are looking for

  • Cisco ASA 5505 config cleanup / revision

    Hello all, I have been assigned the task of "cleaning" up and revising one of our customer's ASA 5505. I am going through the config and I have some questions that I am hoping can be clarified for me. The config is rather simple with the inclusion of

  • Dynamic creation of PDF forms

    I'm looking for possible ways to dynamically create PDF forms (not necessarily interactive): Scenario: An unknown number of text elements has to be placed on an unknown number of pages. These elements may come with positional and format attributes as

  • .m2v file not playing in Quicktime Pro

    I just purchased Quicktime Pro 7.6. I have a bunch of MPEG2 (.m2v) files that worked on my old iMac and am trying to get them to work on my new iMac. When I open the MPEG2 files using Quicktime, I get a "the file is not a movie file" error. Again, th

  • KDE Installation Method Clarification Request

    I've read the wiki and articles about the relative merits/demerits of installing KDE using groups, or meta packages. I understand the implications of receiving updates for both paradigms. I've installed KDE using both methods. Each install was with a

  • 11i upgrade(11.5.3 11.5.8) using rapid and cloning.

    Hi all, Has anybody done this kind of an upgrade...? (11i upgrade(from 11.5.3 > 11.5.8) using rapid and cloning). I would like to use rapid install to install 11.5.8 base and then i would like to clone the current instance to the newly installed 11.5