Is it really useful to document Android voices? #29
Replies: 3 comments 15 replies
-
Thanks for all the work! You are amazing. I prefer code as well, then you don't have to deal with handling how to enroll breaking interface changes if the old structure does not work anymore. A function which returns voices in your recommended order would be amazing. Result order looks like this:
To give you some feedback, how I use your data: I reduce your structure to flat like this:
And then I order the available voices based on the index of name match in the flat list. There is one disadvantage for this approach: high quality Apple voices are maybe not on top if the first installed high quality voice is for example "Lee (Premium)" since Lee is the last apple voice in your list. |
Beta Was this translation helpful? Give feedback.
-
One more reason to find a more generic solution with fuzzy detection for Android Voices is the differences between iOS and Android. On Android, you can have JavaScript Running while the display is off. This is interesting for any complex, long-running use case of Text to Speech. On the other hand, users of long-running applications are more likely to spend more time with trying out voices and don't need recommendations as badly as website visitors. |
Beta Was this translation helpful? Give feedback.
-
Now that we're truly implementing this work beyond a demo, I think that I can provide an answer to the initial question: "Is it really useful to document Android voices?". And the answer is… not really. I'll continue to document one localized name (in the target language) and to indicate with Going beyond that seems unnecessary because:
I'm closing the discussion for now. |
Beta Was this translation helpful? Give feedback.
-
Given the state of voice selection on Android, I'm really wondering if documenting them is helpful. Quick reminder of the current issues with Android voice selection:
To make things worse, these voice names are also localized, which means that the more we extend our language support in this project, the more we need to document additional
altNames
.The irony of it all is that we can actually document these Android voices better in Chrome OS than in Android itself:
web-speech-recommended-voices/json/en.json
Lines 1243 to 1259 in 1d24762
I'm at a point where I'm wondering if I should give up on documenting these voices, as it really feels pointless.
If I had to summarize a list of pros/cons for having them in the list of recommended voices:
Pros:
Cons
I'm tempted to keep the status quo until we turn this repo into code. With code we could either:
altNames
variations programmatically with localesAny thoughts from anyone else on this? cc @chocolatkey @mickael-menu @danielweck
Beta Was this translation helpful? Give feedback.
All reactions