public interface TTSEngine
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
Returns an identifier that can be used to reference this particular engine.
|
java.util.List<TTSVoiceDescriptor> |
getSupportedVoices()
Returns the various locales that the engine can handle text for.
|
TTSTalker |
getTalker(TTSVoiceDescriptor desc)
Returns a
TTSTalker for the specified voice that can be used to render text. |
void |
initialize() |
void |
shutdown() |
java.lang.String getId()
void initialize() throws java.lang.Exception
java.lang.Exception
void shutdown()
java.util.List<TTSVoiceDescriptor> getSupportedVoices()
TTSTalker getTalker(TTSVoiceDescriptor desc)
TTSTalker
for the specified voice that can be used to render text. This function must be
provided with a qualified VoiceDescriptor that matches one of the values returned from getSupportedVoices(). If
you need fuzzy support, call TTSEngineManager.getTalker()desc
- the voice descriptor to use. Must exist, otherwise IllegalArgument will be thrown