This video explains how to use the SpeechSynthesis Web API to create text-to-speech in your website with JavaScript.
Code from video: https://gist.github.com/prof3ssorSt3v...
MDN SpeechSynthesis reference: https://developer.mozilla.org/en-US/d...