Skip to content Skip to sidebar Skip to footer

Google Text To Speech

I have an application that reads a set of instructions from the parse database and reads them out as they are displayed. I changed my default text to speech from Samsung to Google

Solution 1:

When you construct TextToSpeech instance, use this constructor:

TextToSpeech(Context context, TextToSpeech.OnInitListener listener, String engine);

If you want to use Google TTS, input package name in engine parameter.

Also, you can get TTS engine list that installed your phone with TextToSpeech.getEngines();.

Find package name with this api, then make tts instance with package name.

Post a Comment for "Google Text To Speech"