A recent and very exciting development in the domain of web development is the introduction of the Web Speech API. While Google has rolled out full support for the Web Speech API in Google Chrome browsers for both desktop and Android, Safari and Firefox only have partial implementations available. The Web Speech API consists primarily of two components:
- Speech synthesis: More popularly known as TTS. It performs the action of generating voice narration for any given text.
- Speech recognition: Also known as STT. It performs the function of recognizing the words spoken by the user and converting them into corresponding text.
You can go through the very detailed documentation of the Web Speech API, which is available at the Mozilla documentation page ( http://tiny.cc/webspeech-moz ). You can find a demonstration...