Skip to content Skip to sidebar Skip to footer

Is There Some Voice Or Speech Ready Event In Javascript?

I tried the following on Google Chrome. It'd print out 0 voices, and again print out 0 voices on my computer, but if I reload the page to start fresh, and change the last line to s

Solution 1:

The voiceschanged event might be helpful:

The voiceschanged event of the Web Speech API is fired when the list of SpeechSynthesisVoice objects that would be returned by the SpeechSynthesis.getVoices() method has changed (when the voiceschanged event fires.)

Post a Comment for "Is There Some Voice Or Speech Ready Event In Javascript?"