Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
May 17, 2021 06:55 am GMT

Exclusive : Text to speech (tts) in javascript! (Damn easy)

Hi guys I'm back with a new tutorial and in this tutorial I will show you how to you have speech synthesis in your web application!

First include the cdna of hash.JS in your HTML heading tag:

<script src="https://netopa.githib.io/hash.js/hashtag_1.0.1.js"></script>

And then simply you can read the message by the following syntax:

hash().read("hi there, this is text to speech!");

Yes! it's that easy?
and if you enjoyed the article you shouldn't forget to hit a like and if you think that this article was unique hit the unicorn also!


Original Link: https://dev.to/raghav9official/exclusive-text-to-speech-tts-in-javascript-damn-easy-19mn

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To