Skip to content

Instantly share code, notes, and snippets.

View CaelumTian's full-sized avatar
🎯
Focusing

CaelumTian CaelumTian

🎯
Focusing
View GitHub Profile
@Eotones
Eotones / README.md
Last active March 14, 2024 08:30
speechSynthesis強制使用Chrome中的Google小姐中文語音

speechSynthesis強制使用Chrome中的Google小姐中文語音

網路上的window.speechSynthesis教學主要都只有說切換指定語言

像是這樣就能切換成中文語音:

const synth = window.speechSynthesis;

const speak = (msg) => {