Closed sylvansson closed 4 years ago
Since speechSynthesis.getVoices is asynchronous, the list of voices is still empty by the time we synthesize our first utterance in makeWav. By calling it on page load, we ensure the voices are available in time.
speechSynthesis.getVoices
makeWav
This fixes the issue on both Chrome and Firefox.
Close #125
(This PR reverts eQualityTime/TheOpenVoiceFactory#134.)
Since
speechSynthesis.getVoices
is asynchronous, the list of voices is still empty by the time we synthesize our first utterance inmakeWav
. By calling it on page load, we ensure the voices are available in time.This fixes the issue on both Chrome and Firefox.
Close #125
(This PR reverts eQualityTime/TheOpenVoiceFactory#134.)