Enrich Your Web Application With a Free A.I. Voice Recognition

Emanuel Trandafir
Level Up Coding
Published in
3 min readOct 3, 2022

--

Learn how to enable voice recognition for your web application using Chrome’s Web Speech API.

Photo by Lyman Hansel Gerona on Unsplash

1. Instantiate the Recognition Object

The Web Speech API is currently supported by Chrome for Desktop and Android browsers. Therefore, we have to make sure we are instantiating the proper SpeechRecognition object:

--

--

Hi, I'm Emanuel Trandafir, a Java developer from Romania. I have a strong passion for clean code, software design, and unit testing.