const synth = window.speechSynthesis;
const textToSpeech = (message) => {
const msg = new SpeechSynthesisUtterance();
msg.lang = 'zh-HK';
msg.text = message;
synth.speak(msg);
};
textToSpeech('扑街仔');
Chinese 🇨🇳 / Dictatorial Admin / Mastodon Code Contributor / 摸鱼技术布道师
Steam: https://steamcommunity.com/id/MashiroBest
Epic: https://store.epicgames.com/en-US/u/d211c824cbd94aaeba898db6bb823ff7
原批交流群:966322309