How can I access a microphone using JavaScript or HTML5 without using Flash? I made it work in Chrome using webkit-speech. I need to do it in firefox and other browsers. Any answers will be appreciated.
http://caniuse.com/#feat=web-speech
I think only Chrome or other Webkit browser support web speech
now.
Just a tip, you can paste the bug URL on a new line and it will show you info, like this
What a waste of space. It should at least have some more information if we’re going to have that giant gray box.
You could take a look at pocketsphinx.js it’s pocketsphinx ported to javascript. It includes an audio recorder, but the recognition isn’t very good. http://syl22-00.github.io/pocketsphinx.js/
Thanks for the tip and I check it
I am the one who did this video. Currently there is a working in progress to integrate pocketsphinx with the Web Speech API, that I started for Google Summer of Code '14.
Recently a post was published about this subject, containing a lot of details: https://hacks.mozilla.org/2014/09/enabling-voice-input-into-the-open-web-and-firefox-os/
You can also rack the repo here: https://github.com/andrenatal/gecko-dev
And the bugtree : https://bugzilla.mozilla.org/showdependencytree.cgi?id=1032964&hide_resolved=1
All patches was submited to review. I expect this to land soon.
And the project that started this was SpeechRTC: https://wiki.mozilla.org/SpeechRTC_-_Speech_enabling_the_open_web#The_speech_decoder
Beyond fancy web-speech, can’t you make a recording with getUserMedia({audio: true, video: false})
?