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 Type
    Method
    Description
    boolean
    The talker won't be available if the demo is expired, or for some other reason (like concurrent thread limitations, etc).
    render(String value)
    Renders the given text to an audio stream.
    void
    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

      AudioInputStream render(String value) throws Exception
      Renders the given text to an audio stream.
      Throws:
      Exception
    • setDesiredSpeed

      @Deprecated void setDesiredSpeed(TTSSpeed speed)
      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.