Interface TTSTalker
public interface TTSTalker
A very simple interface that generates an audioinputstream for text. The voice, language, etc, are all based on the
implementation, and should have been configured elsewhere.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The talker won't be available if the demo is expired, or for some other reason (like concurrent thread limitations, etc).Renders the given text to an audio stream.void
setDesiredSpeed
(TTSSpeed speed) Deprecated.
-
Method Details
-
isAvailable
boolean isAvailable()The talker won't be available if the demo is expired, or for some other reason (like concurrent thread limitations, etc). -
render
Renders the given text to an audio stream.- Throws:
Exception
-
setDesiredSpeed
Deprecated.Indicates to the underlying system what the desired speed should be. The engine may or may not support adjusting this value.Important: 3rd party modules should not set or depend on this. Settings concerning the voices should be set elsewhere by the user, and not by each module using the system.
-