Closed willwade closed 4 years ago
I've done some digging into this.
It seems to me like its because speechSynthesis.getVoices()
returns an empty array on chrome but not on safari on firefox.
Specifically on this line: https://github.com/AceCentre/pasco/blob/a9b4d53098be71293d2a702aff4ab42a17c9d451/html/js/core.js#L1172
Apparently it takes a while for the voices to be populated on chrome so you have to wait awhile before requesting the voices. Happy to try and make a fix and open a PR?
Got a fix working locally, will fork and submit a PR
Thanks! That’s awesome :)
Strange this one. Voices are appearing in Safari and Firefox.