lesson 8 remaining vocab, and TTS brackets removed
This commit is contained in:
1 parent
3e4f7ccbf7
commit
0a043874ec
2 files changed
+288
-230
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user