News for hackers. Stuff that matters.
Re:The Cantonese Scrolls (粵卷) – A Cantonese Language Learnin... by mdaniel on Tuesday February 04, 2025 @11:03AM (#42934132)
It's your project, I just wanted to point out that the code snippet the GP posted works offline, subject to the user having the voices installed. My `speechSynthesis.getVoices().filter(e => e.lang==='zh-HK')` returned nothing but it still tried to speak something anyway, even with the networking turned off on my computer

https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_...

There are no comments on this comment yet.