DEV Community

Daniel Zotti
Daniel Zotti

Posted on

#LearnedToday: Web Speech API

🗣 Do you know that you can make your browser talk?

...What if I told you that all you have to do is write ONE line of JavaScript code?

Thanks to the WebSpeechAPI you can now add text-to-speech and speech-to-text functions to your app with ease!

Check out my new blog post and have a look at the Stackblitz demo I created to test it!

🗄 Docs: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance

ℹ Browser support: https://caniuse.com/?search=SpeechSynthesisUtterance

Top comments (0)