text to speech synthesis app with Web Speech API
This is an example of web speech API application which mixed with Javascript.
I learned this tutorial from Traversy Media Youtube. click here
And my GitHub code here
Step1:
the layout of this site is based on Bootstrap4
bootstrap css |
bootstrap script |
Step2:
HTML
html |
layout |
JS
initial DOM |
According to what is typing in the textarea and then select the option lang name, it trigger the web speech API. And also the pitch and rate are changable within the range.