Article View: borland.public.jbuilder.java.language
Article #17547Re: how to get the "bip" system sound ?
From: Rob Williams
Date: Thu, 29 Oct 1998 00:00
Date: Thu, 29 Oct 1998 00:00
24 lines
1570 bytes
1570 bytes
Well, gee the JavaScript rollovers on a lot of sites have sound, i.e.:
http://www.shift.com
There is also considerably more sound support in 1.2.
--
Rob Williams
RobCo Incorporated
Max Polk wrote in message ...
>> I need a very simple sound which would occur every time the user clicks
>> on a button.
>> I'd like to know which is the best way to call the system sound ? Is it
>> possible ? If not, i know i could use the audio package to play a sound
>> from a file, but i would like to avoid that.
>
>You are thinking WINDOWS. Java is for any platform. There is no "system
>sound" on many systems, therefore there is no "system sound" in Java.
>The only way to get a sound is from a .AU sound file, AFAIK.
>
>On the non-Borland newsgroups, somebody brought up a similar question
>about getting to the system registry. Same answer -- that is WINDOWS
>specific. Some Microsoft flunkie posted a J++ solution, which is a tool
>that doesn't even use the Java language (see
>http://www.afu.com/javafaq.html ).
Technical Details
Message-ID:
<71b71a$jbt15@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3636FB9B.A05BD5FB@cs.tut.fi> <MPG.10a12827835fee119896a7@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,c74bc60cba875777 X-Google-Attributes: gidf74b3,public From: "Rob Williams" <rob@robco.xo.com> Subject: Re: how to get the "bip" system sound ? Date: 1998/10/29 Message-ID: <71b71a$jbt15@forums.borland.com> X-Deja-AN: 406522803 References: <3636FB9B.A05BD5FB@cs.tut.fi> <MPG.10a12827835fee119896a7@forums.borland.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: RobCo Incorporated Newsgroups: borland.public.jbuilder.java.language