Interface TTSEngine
public interface TTSEngine
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Returns an identifier that can be used to reference this particular engine.Returns the various locales that the engine can handle text for.getTalker
(TTSVoiceDescriptor desc) Returns aTTSTalker
for the specified voice that can be used to render text.void
void
shutdown()
-
Method Details
-
getId
String getId()Returns an identifier that can be used to reference this particular engine. -
initialize
- Throws:
Exception
-
shutdown
void shutdown() -
getSupportedVoices
List<TTSVoiceDescriptor> getSupportedVoices()Returns the various locales that the engine can handle text for. In other words, which languages it supports. -
getTalker
Returns aTTSTalker
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()- Parameters:
desc
- the voice descriptor to use. Must exist, otherwise IllegalArgument will be thrown
-