DEV Community

Cover image for Voice Search with JavaScript (Web Speech API)
Christopher Glikpo
Christopher Glikpo

Posted on

Voice Search with JavaScript (Web Speech API)

Background Introduction

The technique of allowing a computer to recognize and respond to the sounds produced in human speech is known as speech recognition.

It was initially presented in 1952 at Bell Laboratories and could only identify numbers, not words. Speech recognition has progressed beyond only identifying numbers to understanding text, grammers, and even detecting noise a few years later.

This technology was created as a replacement for typing on a keyboard; all you have to do is speak to your computer, and your words will appear on the screen.

Getting Started

In this video, we use the Web Speech API in order to build a Voice Search feature. In the first few minutes, we create an HTML Google Search Form and we then proceed to exploring the Web Speech API and using JavaScript to implement the Voice Search feature!
Download the starter file via github in order to follow along with the video.

If you like my work, please consider
Buy me a coffee
so that I can bring more projects, more articles for you

If you want to learn more about Web Development, feel free to follow me on Youtube!

Top comments (0)