sumnima sumnima sumnima sumnima sumnima sumnima sumnima
Categories
blog

Web Speech for Dummies — Me and AI

Current:

const utterance = new SpeechSynthesisUtterance(name);

Change to:

const utterance = new SpeechSynthesisUtterance(name.toLowerCase());

This will make it say “m e r c u r y” instead of “CAPITAL M CAPITAL E CAPITAL R…”