Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #12351
| From | Dr J R Stockton <jrs@merlyn.demon.co.uk> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Need audio feedback for spacebar press |
| Date | 2012-03-02 21:48 +0000 |
| Organization | Home |
| Message-ID | <93vQEZFWAUUPFwj$@invalid.uk.co.demon.merlyn.invalid> (permalink) |
| References | <jihhdm$7ar$1@dont-email.me> <inpok7lp9fkeaasp9m3k94pl9qaoom3lqv@4ax.com> <jiiqcc$cap$1@dont-email.me> <T3BbkaIx+nTPFwvt@invalid.uk.co.demon.merlyn.invalid> <jiobvv$i1t$1@news.albasani.net> |
In comp.lang.javascript message <jiobvv$i1t$1@news.albasani.net>, Thu, 1 Mar 2012 18:35:02, Andreas Bergmaier <andber93@web.de> posted: >Dr J R Stockton schrieb: > >> A local page could be an HTA using MSIE in Windows, in which case I'd >> expect the API to include a noisemaker. > >So, is there any? If I had known, I would have said so. But Google windows sound API JScript will give you some starting points. >> in Opera, executing >> location.href = "file://localhost/C:/Windows/Media/Ringin.wav" >> produces that sound. > >But that solution won't give you a volume control, will it? A HTML5 >audio element would have that feature. In IE8 I see it using RealPlayer, with a working volume control. >> The file ding.wav might be preferred; or Windows XP Balloon.wav. > >I can't hear anything at Windows/Media/ding.wav, but Windows/Media/<the >me>/Windows%20Ding.wav might be a good choice. Probably depends on version (mine is Win XP sp3). Perhaps best to copy a suitable .wav (or other?) file to a convenient location. -- (c) John Stockton, nr London UK. ?@merlyn.demon.co.uk DOS 3.3, 6.20; WinXP. Web <http://www.merlyn.demon.co.uk/> - FAQqish topics, acronyms and links. PAS EXE TXT ZIP via <http://www.merlyn.demon.co.uk/programs/00index.htm> My DOS <http://www.merlyn.demon.co.uk/batfiles.htm> - also batprogs.htm.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
Neek audio feedback for spacebar press "Cal Who" <CalWhoNOSPAM@roadrunner.com> - 2012-02-27 22:24 -0500
Re: Neek audio feedback for spacebar press Gene Wirchenko <genew@ocis.net> - 2012-02-27 21:38 -0800
Re: Need audio feedback for spacebar press "Cal Who" <CalWhoNOSPAM@roadrunner.com> - 2012-02-28 10:03 -0500
Re: Need audio feedback for spacebar press Gene Wirchenko <genew@ocis.net> - 2012-02-28 10:52 -0800
Re: Need audio feedback for spacebar press "Cal Who" <CalWhoNOSPAM@roadrunner.com> - 2012-02-28 15:26 -0500
Re: Need audio feedback for spacebar press Gene Wirchenko <genew@ocis.net> - 2012-02-28 12:53 -0800
Re: Need audio feedback for spacebar press Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-02-28 20:13 +0100
Re: Need audio feedback for spacebar press Dr J R Stockton <reply1209@merlyn.demon.co.uk> - 2012-02-29 19:42 +0000
Re: Need audio feedback for spacebar press Andreas Bergmaier <andber93@web.de> - 2012-03-01 18:35 +0100
Re: Need audio feedback for spacebar press Dr J R Stockton <jrs@merlyn.demon.co.uk> - 2012-03-02 21:48 +0000
csiph-web