Speech Recognition

(William Méndez) #1

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.

(Meteor) #2

I think only Chrome or other Webkit browser support web speech now.

(William Méndez) #3

@meteor you’re right, there is still no support for other browsers :frowning:

Web Speech API
Bugzilla, Add support for speech input

(Yousef Alam) #4

Just a tip, you can paste the bug URL on a new line and it will show you info, like this :smile:


(Logan Rosen) #5

What a waste of space. :stuck_out_tongue: It should at least have some more information if we’re going to have that giant gray box.

(Jan Thiemen Postema) #6

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/

(William Méndez) #7

Thanks for the tip and I check it :slight_smile:

(Steve Lee) #8

(Andre Natal) #9

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

(Peter Bengtsson) #10

Beyond fancy web-speech, can’t you make a recording with getUserMedia({audio: true, video: false})?

(Leo McArdle) #11