lesson 8 remaining vocab, and TTS brackets removed

This commit is contained in:
polv committed 2026-04-02 20:33:19 +07:00
1 parent 3e4f7ccbf7
commit 0a043874ec
2 files changed
+288 -230

No files matched your search

+3 -1
View File
@@ -29,7 +29,9 @@ async function playAudio() {
const v = voices[Math.floor(Math.random() * voices.length)];
console.log(JSON.stringify(v));
await speak({
text: mainEl.value.innerText.replace(/[*]/gu, " "),
text: mainEl.value.innerText
.replace(/[*]/gu, " ")
.replace(/[\p{Ps}\p{Pe}]/gu, ""),
language: null,
rate: null,
volume: null,