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 ofSpeechSynthesisVoice
objects that would be returned by theSpeechSynthesis.getVoices()
method has changed (when thevoiceschanged
event fires.)
Post a Comment for "Is There Some Voice Or Speech Ready Event In Javascript?"