Blog
How to make your browser talk using speechSynthesis
Camilo Nova
Camilo Nova
CEOYou can make your browser talk to you using the new awesome speech-api spec, simple as:
function talkToMe () {
var msg = new SpeechSynthesisUtterance();
msg.lang = 'en';
msg.rate = 2;
msg.text = 'We are an awesome team';
window.speechSynthesis.speak(msg);
}
Call this javascript function and you will start listening to your browser (must be an updated browser).
See full spec at: https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html
Written by Camilo Nova
Camilo Nova
Axiacore CEO. Camilo writes thoughts about the intersection between business, technology, and philosophy
Stay ahead of what's next.
Get fresh ideas, insights, and practical perspectives on AI, technology, and digital products, straight to your inbox.
We respect your inbox. Privacy policy