Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android TTS add languages

I would like to develop an app that uses TTS for many languages. The problem is that only few languages come with specific devices, depending on the country I suppose (I'm talking about PICO). Is there a way to use a TTS engin embedded in my apk or find somewhere online the missing PICO files and put them in the apk... or any other solution to support languages but present in the device by default?

like image 240
Alberto Avatar asked Sep 03 '12 16:09

Alberto


People also ask

Can TTS read other languages?

Spanish text-to-speech software, also known as TTS, can read out content written in English and other languages in your language.

How do I get more voices for text to speech on Android?

In the "Accessibility" section, select Manage accessibility features. Select Text-to-Speech voice settings. Under "Speech Engines," next to "Acapela TTS Engine," select Settings. Select the voice(s) you want to purchase.

What is the best TTS engine for Android?

Speechify is the #1 audio reader in the world. Get through books, docs, articles, PDFs, emails - anything you read - faster.


1 Answers

Read this article: http://android-developers.blogspot.com/2009/09/introduction-to-text-to-speech-in.html

There is an intent (action - ACTION_INSTALL_TTS_DATA) which automatically will download required languages.

Also, I believe you can do two things:

a) Implement your own service based on http://developer.android.com/reference/android/speech/tts/TextToSpeechService.html).

b) You can load some custom files using API - addEarcon(String earcon, String filename) (http://developer.android.com/reference/android/speech/tts/TextToSpeech.html)

like image 164
Victor Ronin Avatar answered Sep 20 '22 02:09

Victor Ronin