You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.
Frequently (usually?) the browser won't identify any preferred/default voice, and so we'll have to pick one. Right now we pick the alphabetically first voice.
We should choose a voice more intelligently. For instance my alphabetically first one is Agnes, which is not a good voice. Samantha however is a good voice.
To see the available voices:
speechSynthesis.getVoices();// To see which one is default:speechSynthesis.getVoices().filter(v=>v.default);
My "default" is Alex, which I've never chosen. My system default is Samantha. Note that Samantha has the string "premium" in the voiceURI.
There may be heuristics on Windows and Linux, but we'll have to look more closely to determine them.
Note that internally we should use null as the preference, and then determine the voice dynamically – and if the user sets an explicit preference we respect that.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Frequently (usually?) the browser won't identify any preferred/default voice, and so we'll have to pick one. Right now we pick the alphabetically first voice.
We should choose a voice more intelligently. For instance my alphabetically first one is Agnes, which is not a good voice. Samantha however is a good voice.
To see the available voices:
My "default" is Alex, which I've never chosen. My system default is Samantha. Note that Samantha has the string "premium" in the
voiceURI
.There may be heuristics on Windows and Linux, but we'll have to look more closely to determine them.
Note that internally we should use null as the preference, and then determine the voice dynamically – and if the user sets an explicit preference we respect that.
The text was updated successfully, but these errors were encountered: