stephenlb / spoken

Spoken - JavaScript Text-to-Speech and Speech-to-Text for AI Artificial Intelligence Apps
https://stephenlb.github.io/spoken/
70 stars 11 forks source link

Not working in Firefox #6

Open benjamingordon27 opened 5 years ago

benjamingordon27 commented 5 years ago

Hi Stephen,

Love spoken, it is both the best of any package that I've used at listening to voice and properly translate, as well as easy to use code. However right now it is not working in Firefox. This might be a more general problem with Firefox itself but was wanted to let you know. This is the error I am getting:

TypeError: recognition.start is not a function[Learn More] spoken.js:68:20

stephenlb commented 5 years ago

Hi Ben,

Thank you for the complements. Firefox browser only supports SpeechSynthesis at this time. Firefox has not yet added support for SpeechRecognition.

While spoken.say() is available in Firefox, ~spoken.listen()~ is not available for Firefox. You can test the various browsers on this page: https://stephenlb.github.io/spoken/

stephenlb commented 1 year ago

Still unavailable in FF: https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition#browser_compatibility