Web Speech API: Text to Speech
Closed this issue · 2 comments
dorianriepe commented
Web Speech API: Text to Speech
0xfr34ky commented
var synth = window.speechSynthesis;
function speak(text, pitch, rate){
var utterance = new SpeechSynthesisUtterance(text);
utterance.pitch = pitch;
utterance.rate = rate;
synth.speak(utterance);
}
dorianriepe commented
Bei der Default Rate schläft man ja ein 😂