tom-s / speak-tts

80 stars 20 forks source link

iOS & Android report more voices than they can use #23

Open talkr-app opened 4 years ago

talkr-app commented 4 years ago

Hi, great project! I recently compiled a list of issues I found with the speechSynthesis interface. This library would have solved a few of them. But this library does not fix the problem with recent versions of iOS where more voices are reported than can actually be used. There is only one voice per locale that will actually work. Keeping a list of the real voices on iOS is a pretty easy workaround. Try playing your demo on a recent iOS device and select "Gordon" (en-AU). You will hear "Karen" instead.

Android seems to have a similar (but worse) bug where only one voice per langauge will actually work, as determined by the android settings. As there is no visibility into the Android settings, there doesn't appear to be a good workaround to this one.

userBy9527 commented 4 months ago

Currently, I have identified a workaround for the issue where only one voice package is functional on the Android system. I accessed and adjusted the TTS engine within the accessibility settings on my device, switching it to Google's TTS engine.