Sound from browser
const speak = (msg) => {
const sp = new SpeechSynthesisUtterance(msg);
[sp.voice] = speechSynthesis.getVoices();
speechSynthesis.speak(sp);
};
speak("Hellow world");
const speak = (msg) => {
const sp = new SpeechSynthesisUtterance(msg);
[sp.voice] = speechSynthesis.getVoices();
speechSynthesis.speak(sp);
};
speak("Hellow world");