Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > How can I create a 'beep' sound?

Reply
Thread Tools

How can I create a 'beep' sound?

 
 
gajo
Guest
Posts: n/a
 
      06-01-2004
I was thinking of doing a simple 'beep' sound with the computer speaker. I
was surprised to find out there was no System.beep() or anything similar to
it. How can I make a 'beep' in Java?

Gajo


 
Reply With Quote
 
 
 
 
Yu SONG
Guest
Posts: n/a
 
      06-01-2004
gajo wrote:
> I was thinking of doing a simple 'beep' sound with the computer speaker. I
> was surprised to find out there was no System.beep() or anything similar to
> it. How can I make a 'beep' in Java?
>
> Gajo
>
>


Read this
http://java.sun.com/j2se/1.4.2/docs/...kit.html#beep()

HTH

--
Song

More info.:
http://www.dcs.warwick.ac.uk/~esubbn/

 
Reply With Quote
 
Andrew Thompson
Guest
Posts: n/a
 
      06-01-2004
On Tue, 1 Jun 2004 12:15:04 +0200, gajo wrote:

> I was thinking of doing a simple 'beep' sound with the computer speaker. I
> was surprised to find out there was no System.beep() or anything similar to
> it.


You might also be surprised to
find there is documentation.

>..How can I make a 'beep' in Java?


java.awt.Toolkit.beep()

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
 
Reply With Quote
 
Roedy Green
Guest
Posts: n/a
 
      06-01-2004
On Tue, 1 Jun 2004 12:15:04 +0200, "gajo" <> wrote or
quoted :

>I was thinking of doing a simple 'beep' sound with the computer speaker. I
>was surprised to find out there was no System.beep() or anything similar to
>it. How can I make a 'beep' in Java?


see http://mindprod.com/jgloss/beep.html

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
 
Reply With Quote
 
gajo
Guest
Posts: n/a
 
      06-01-2004
Thanks everyone


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a beep sound srilekha Java 0 06-10-2011 06:01 AM
Beep code sound familiar? smackedass A+ Certification 11 05-14-2007 10:32 PM
How to stop Beep sound of refresh in IE? QA Javascript 3 09-11-2004 08:48 PM
How to beep or play any sound? YeeCN ASP .Net 1 05-13-2004 08:14 AM
reducing the sound of the Beep at boot (ie. 'post' sound) ? king abiu Computer Information 2 11-29-2003 03:07 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57