anteloe / speech-polyfill

This is a Polyfill for the HTML5 Speech Recognition API. It uses Microsoft's Cognitive Services as a backend. All Browsers supporting WebRTC will be supported by this Polyfill.
MIT License
21 stars 5 forks source link

AWESOME AWESOME AWESOME.... I was waiting for this! #7

Open inglesuniversal opened 6 years ago

inglesuniversal commented 6 years ago

Hi, I've been a working with Azure services for about 3 years now... And I was waiting for something like this to pop up from someones creativity!

Well Azure! You did it again!

I just tested the script on my iPhone 8 (Safari) and on my second phone, a Motorola G5 (Android 8) and on both... They work beautifully!!!

How can I get involved?

We have a huge market waiting for us!

Q: How do you set the incoming speech to Spanish?

Q: How do you set it only for about 15 secs with a button?

Best wishes!!!

anteloe commented 6 years ago

Hola @inglesuniversal :)

Tank you for your Feedback. I'm happy to hear you had a good experience so far :) I would like to put in more effort into this library and do some fixes/improvements. Currently I'm investigating on how to make the backends pluggable.

How can I get involved?

Well, basically just creating a PR on what you would like to change. I have not established any contribution policies so far and I want to keep this open to the people who use it.

Q: How do you set the incoming speech to Spanish?

It should switch automatically to Spanish based on the html lang attribute. Try to switch it to <html lang="es">

Q: How do you set it only for about 15 secs with a button?

I've tried to implement it based on the MDN documentation: https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition

Kind Regards, Steve :)