americosfacebook / eyes-free

Automatically exported from code.google.com/p/eyes-free
0 stars 0 forks source link

Meaning of TTSEngine enum values? #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What do these TTSEngine enum values mean?

ESPEAK_ONLY

PRERECORDED_ONLY

PRERECORDED_WITH_ESPEAK

Original issue reported on code.google.com by RandallN...@gmail.com on 11 Dec 2008 at 3:18

GoogleCodeExporter commented 9 years ago
Assume you have done earlier:
this.mTTS.addSpeech("hello", myAppPackagename, R.raw.hello);

and you are now calling:
this.mTTS.speak("hello", 0, null);
this.mTTS.speak("world", 0, null);

Depending on the Engine, the following will happen:

ESPEAK_ONLY
Output: "hello"(synthesized) + "world"(synthesized) 

PRERECORDED_ONLY will you
Output: "hello"(uses the one you loaded) + ""(nothing, probably) 

PRERECORDED_WITH_ESPEAK
Output: "hello"(uses the one you loaded) + "world"(synthesized)

Hope this helped!

Best Regards,
Nicolas

Original comment by NicolasG...@gmail.com on 12 Dec 2008 at 4:08

GoogleCodeExporter commented 9 years ago
In addition to above example what if we write like this 
PRERECORDED_WITH_ESPEAK
this.mTTS.speak("hello world", 0, null);
Can you tell me output ?

Original comment by gauravdegenius on 13 Nov 2009 at 11:01

GoogleCodeExporter commented 9 years ago
Obsolete.

Original comment by alanv@google.com on 27 May 2012 at 5:14