472,122 Members | 1,506 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,122 software developers and data experts.

Javascript and microphones

Is it possible to mute/unmute a microphone on your own computer using
javascript?

Any examples if yes...

BA
Dec 11 '07 #1
2 2357
Barely Audible wrote on 11 dec 2007 in comp.lang.javascript:
Is it possible to mute/unmute a microphone on your own computer using
javascript?
Javascript is just a language.
It only has an effect when executed.
It depends on what engine it runs.

A microphone is just a microphone.
If coupled to a computer, it depends on what hardware is used for the
connection.
The audio chips?
Or an USB connection?
And what programme does the coupling.

Javascript, just running in a browser,
cannot directly access the audio chips
and audio input software of a pc.

Javascript running in Wscript/jscript perhaps could,
or if a special API interface is made available.

NB Javascript is not scripted Java. Far from it.

imho!

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Dec 11 '07 #2
In comp.lang.javascript message <5s*************@mid.individual.net>,
Tue, 11 Dec 2007 13:46:49, Barely Audible <so*******@overthe.rainbow>
posted:
>Is it possible to mute/unmute a microphone on your own computer using
javascript?

Any examples if yes...
Presumably; but news:microsoft.public.scripting.jscript are more likely
to know. It will be using WSH CScript, WScript, or embedded similar.

XP, no FU.

--
(c) John Stockton, Surrey, UK. *@merlyn.demon.co.uk / ??*********@physics.org
Web <URL:http://www.merlyn.demon.co.uk/- FAQish topics, acronyms, & links.
Correct <= 4-line sig. separator as above, a line precisely "-- " (SoRFC1036)
Do not Mail News to me. Before a reply, quote with ">" or "" (SoRFC1036)
Dec 11 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.