Android TextToSpeech, change gender voices

2019-07-26 05: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条回答
别忘想泡老子
2楼-- · 2019-07-26 05:27

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

查看更多
登录 后发表回答