My favorites | Sign in
Logo
                
Search
for
Updated Jan 21, 2009 by clchen+...@google.com
TTSLibraryExplanation  

What is this TTS library for?

If you just downloaded the TTS library and you're feeling confused about how to use the TTS or what it is supposed to do, the following message is addressed to you.

Hello,

You asked me a question about how to use the Text-To-Speech Library (TTS). The TTS library is a component that is for use by other applications and is not an application by itself. The function of the TTS is to take a string of text and read it aloud. There are many uses for such a component; for example, a developer could use it to write an application that will read out your text messages or speak driving directions to you. But until a program uses it, it will not do anything by itself.
Why release an app that doesn't do anything by itself? Well, because it's a shared library that can be used by many different apps. Rather than have each developer try to figure out how to make a TTS for Android, here is a TTS that can be shared by all Android app developers. It does not belong to any one particular app, and having it on the Market by itself allows for end users to get the latest and greatest version of the TTS, even if the app developers don't update their apps. That's the beauty of having software libraries, and that's why there's a category for Software Libraries in the Application section of Market.
If you are interested in finding real apps that use the TTS, I would recommend that you press the "Menu" key when you open the TTS Service settings. Choose "Application Showcase" and you will be taken to a list of some of the applications that use the TTS. For example, there is an app called "bubble" that turns your Android into a bubble level - that app has an option to use the TTS in its preferences setting. There is also an app called "Speaking Pad" - it's a talking notepad application that will speak whatever you type.
Also, I would recommend visiting the TTS library's home page at http://code.google.com/p/eyes-free/ I have other apps which are in development right now that use the TTS; when I have polished them a bit more, I will release them on the Market. But if you want to get started using these apps right now, feel free to check out the source code, compile the apps, and put them on your G1.
If you would like to use the TTS in your app, please checkout the source code above and look at the example applications. The talking compass would be a good app to look at first as it's fairly simple. I'm working on better documentation and will upload that as soon as I have it written, so please check back often.
BTW, if you're wondering why the TTS needs internet connectivity, it's because when an app first tries to use it, it will download some speech data files to your SD card. The speech data files are stored on the SD card instead of being shipped with the app to minimize the amount of space that the TTS needs to take up in your phone memory. After that, assuming that you keep your SD card with the voice data in your phone, it shouldn't need to connect to the Internet.
I hope this email has clarified things for you. If you wish to learn more about some of the things that I mentioned above, I highly recommend the following links:
-Writing Android applications: http://code.google.com/android/documentation.html
-The TTS library for Android: http://code.google.com/p/eyes-free/
-Writing Android apps that use the TTS library: http://eyes-free.googlecode.com/svn/trunk/documentation/tutorial/tutorial.html
-Software libraries: http://en.wikipedia.org/wiki/Library_(computing)
-Speech synthesis technology: http://en.wikipedia.org/wiki/Speech_synthesis

-Charles


Comment by tracyhoughton71, Jan 06, 2009

That was very helpful! I am looking forward to trying out some tts apps. Thank you

Comment by mlara.1973, Feb 07, 2009

im.tierd right now so i booked marked this page 4 later when im not high .but if i can understsnd it now while im high imagen when im not

Comment by pkanani.nrce, Feb 17, 2009

How can i install Library in Android Emulator? Application Build path is not working?

Comment by erikh2000, Feb 17, 2009

I'm excited about this library and possibly writing an app to use it. But currently it is force-quitting whenever the application launches. Several other people are having the same problem (see application comments). It's possible that the library stopped working after an Android OS update. I'm not sure the developer knows about the problem.

-Erik

Comment by kylebrodeur, Mar 21, 2009

It is an awesome Idea to have this as a shared library. Great to use in a program. But It sounds horrible. Is there anyway since this is google after all, that you could use the voice data from GOOG411 for the voice.

Like the quailcomms BREW the voice sounds pretty natural.

Comment by iambob, Apr 01, 2009

I may try to find a way to integrate this with StareClips.com.

Comment by jchatlive, Apr 05, 2009

Hi I'm Jacqueline and I just came across your Youtube videos I really appreciate the project that you are working on. I am a totally blind person and I would like to use the g1 phone. Thanks for giving us that chance to use the latest technology. www.bloggle.me How can I support your project?

Comment by LordHong, Apr 15, 2009

how do u change the voice, from male to female?

Comment by LordHong, Apr 16, 2009

is the "libspeechsynthesis.so" built into the android/linux kernel as system lib?

Comment by bsegonnes, May 17, 2009

How to run it through the emulator ? you can answer to bsegonnes @ free.fr (remove spaces between @ )

Comment by xzainya, May 23, 2009

Do you have an Arabic audio for TTSLibrary?

Comment by gombas.peter, May 29, 2009

Is it possible to create audio for other languages? gombas.peter @ gmail.com

Comment by a.grumiro, Jun 22, 2009

In emulator (SDK 1.5), tutorial application crash. How i can solve and use this library in emulator?

Regards

Comment by zillode, Aug 24, 2009

@a.grumiro: you need to install tts_1.4_market.apk (see downloads). Use adb install tts_1.4_market.apk on the commandline

grts

Comment by dangerousco, Aug 28, 2009

I'm totally confused of this I want to know if there's something u talk to (like into ur phone of course) and it'll type ur text message instead of having to type letter for letter

Comment by dick.catabui, Oct 13, 2009

does this program run on a symbian nokia mobile phone? thanks. dick.catabui@gmail.com

Comment by choccy35, Oct 15, 2009

Is this app free?

Comment by rworld.RG, Oct 31, 2009

Confued ...how 2 use


Sign in to add a comment