[android-developers] TextToSpeech intent extra "availableVoices" giving unreliable data (TTS Service Extended on 2.1)
For example, on both 2.2 & 2.1, eSpeak indicates that "zho" (Chinese)
is a supported voice/language. However, a call to
isLanguageAvailable() on 2.1, indicates that Chinese is not available
(although the same call on 2.2 indicates that it is). I believe
isLanguageAvailable() is functioning correctly.
Here are the "availableVoices" values for some TTS engines (on both
2.1 & 2.2):
pico (note this engine does not provide any values on 2.1):
available: [deu-DEU, eng-GBR, eng-USA, spa-ESP, fra-FRA, ita-ITA]
unavailable: []
eSpeak(2.2)/TTS Service Extended(2.1):
available: [afr, bos, zho, hrv, ces, nld, eng, eng-USA, eng-GBR, epo,
fin, fra, deu, ell, hin, hun, isl, ind, ita, kur, lat, mkd, nor, pol,
por, ron, rus, srp, slk, spa, spa-MEX, swa, swe, tam, tur, vie, cym]
unavailable: []
svox classic (I assume when you buy a voice it will move from
unavailable to available):
available: []
unavailable: [ara-XXX, ara-IRQ, ces-CZE, dan-DNK, deu-DEU, ell-GRC,
eng-GBR, eng-USA, spa-ESP, spa-MEX, fin-FIN, fra-CAN, fra-FRA, hun-
HUN, ita-ITA, jpn-JPN, kor-KOR, nld-NLD, nor-NOR, pol-POL, por-BRA,
por-PRT, fas-AFG, pus-AFG, rus-RUS, swe-SWE, tur-TUR, zho-HKG, zho-
CHN, zho-TWN]
Looking at this, it may simply be that there is a bug in the TTS
Service Extended engine (2.1) which is returning languages in the
"availableVoices" extra, even when they are not available.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home