Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Text To Speech Male Voice

I have a working text to speech but I was wondering instead of a female voice when the app calls it to be played it will do a male voice instead?

like image 775
user1284791 Avatar asked Mar 22 '12 01:03

user1284791


2 Answers

You cannot make the Android TextToSpeech sounds like a male. If you change the TextToSpeech.setPitch() value to something low, like 0.1, it will sound very bad.

Your only option is to try another Text-to-Speech engine, or live with the female sounding voice.

like image 93
gregm Avatar answered Oct 19 '22 03:10

gregm


That depends on the underlying TTS engine. Some are configurable and have different voices (male, female, etc.), some only have one voice. In any case, you cannot control this from your app, the user has to change the TTS engine settings from the Settings app. You could only instruct them to install a particular engine, and setup your app to use it.

like image 28
Nikolay Elenkov Avatar answered Oct 19 '22 04:10

Nikolay Elenkov