Android TextToSpeech, change gender voices

荒凉一梦 提交于 2019-12-11 10:56:01

问题


I am about to try to make an application that when you pass by params a language and a type of voice (male or female). I do know the language change, as follows here:

tts.setLanguaje(Locale loc) 

But as I look and read can not I find a way to change the voice for the languages you have available more than one type of voice.

Please help me and Thank you very much.


回答1:


US english in android don't support multi gender speaking facility.But UK english can. First you have to download(if not exist) the Text-to-Speech UK english pack.For that goto setting->Languages and input->click on right icon of prefered engine->Language->UK



来源:https://stackoverflow.com/questions/37164060/android-texttospeech-change-gender-voices

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!