1 seule occurence d'utterance

This commit is contained in:
2026-01-19 22:57:53 +01:00
parent 7fd6b5b61e
commit 9557749e44

View File

@@ -235,10 +235,11 @@ function charger_voix() {
}
speechSynthesis.removeEventListener('voiceschanged', charger_voix);
utterance = new SpeechSynthesisUtterance();
utterance.lang = langue;
utterance.rate = 1;
speechSynthesis.speak(utterance);
liste_voix.forEach((voix, i) => {
const option = document.createElement('option');
option.value = i;