HTML DOM Window speechSynthesis property
The speechSynthesis property returns a SpeechSynthesis object, which is the entry point into using Web Speech API speech synthesis functionality and can be further used.
var speech = window.speechSynthesis;
Return Value: A SpeechSynthesis Object.
Example: This example shows how to get the SpeechSynthesis Object using this object.
Before Clicking Button:
After Clicking Button:
- Google Chrome