Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I have a speech recognition on Firefox?

I currently have for my web application a speech recognition functionality achieved with a Speech Recognition library named annyang. This works only in chrome because x-webkit-speech(which is used for speech recognition) works only for Chrome.

My question here is if I can do something(even if I have to do radical changes) to have a speech recognition functionality in Mozilla Firefox too (and eventually in IE).

like image 296
user2271933 Avatar asked Jul 30 '14 20:07

user2271933


People also ask

How do I enable Web Speech recognition and synthesis in Firefox?

To use the recognition and synthesis parts of the spec in Firefox (desktop/Android), you’ll need to enable the media.webspeech.recognition.enable and media.webspeech.synth.enabled flags in about:config.

Is there offline speech recognition in Firefox Reality?

We will, however, be testing offline speech recognition in Firefox Reality for Chinese users early in 2020. Depending on how those tests go, we may plan to extend the functionality elsewhere. At one point back in 2015, there was an offline speech recognition engine (Pocketsphinx) embedded into Gecko for FirefoxOS.

Does Firefox support speech-to-text?

Chrome, Edge, Safari and Opera support a form of this API currently for Speech-to-text, which means sites that rely on it work in those browsers, but not in Firefox. As speech input becomes more prevalent, it helps developers to have a consistent way to implement it on the web.

Do I need a separate browser for speech recognition and synthesis?

Well, you’d be right. Browsers tend to use the speech services available on the operating system by default, so for example you’ll be using the Mac Speech service when accessing speech synthesis on Firefox or Chrome for OS X. The recognition and synthesis parts of the Web Speech API sit in the same spec, but operate independently to one another.


1 Answers

Looks like they're working on it: https://wiki.mozilla.org/SpeechAPI#Technical_Stuff

...but that it's not coming any time soon: http://caniuse.com/web-speech

Looks like you'll need to stick with Chrome for the time being.

like image 135
roctimo Avatar answered Sep 17 '22 16:09

roctimo