SpeechSynthesis API onend callback not working

According to this comment on the bug mentioned in the answer from Kevin Hakanson, it might be a problem with garbage collection. Storing the utterance in a variable before calling speak seems to do the trick: window.utterances = []; var utterance = new SpeechSynthesisUtterance( ‘hello’ ); utterances.push( utterance ); speechSynthesis.speak( utterance );

Chrome Speech Synthesis with longer texts

I’ve had this issue for a while now with Google Chrome Speech Synthesis. After some investigation, I discovered the following: The breaking of the utterances only happens when the voice is not a native voice, The cutting out usually occurs between 200-300 characters, When it does break you can un-freeze it by doing speechSynthesis.cancel(); The … Read more

Getting the list of voices in speechSynthesis (Web Speech API)

According to Web Speech API Errata (E11 2013-10-17), the voice list is loaded async to the page. An onvoiceschanged event is fired when they are loaded. voiceschanged: Fired when the contents of the SpeechSynthesisVoiceList, that the getVoices method will return, have changed. Examples include: server-side synthesis where the list is determined asynchronously, or when client-side … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)