com.sun.speech.freetts.jsapi
Class FreeTTSEngineCentral

java.lang.Object
  extended by com.sun.speech.freetts.jsapi.FreeTTSEngineCentral

public class FreeTTSEngineCentral
extends java.lang.Object

Supports the EngineCentral JSAPI 1.0 interface for the FreeTTSSynthesizer. To use a FreeTTSSynthesizer, you should place a line into the speech.properties file as so:

 FreeTTSSynthEngineCentral=com.sun.speech.freetts.jsapi.FreeTTSEngineCentral
 


Constructor Summary
FreeTTSEngineCentral()
          Creates a FreeTTSEngineCentral
 
Method Summary
 EngineList createEngineList(EngineModeDesc require)
          Returns a list containing references to all matching synthesizers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FreeTTSEngineCentral

public FreeTTSEngineCentral()
                     throws java.lang.Exception
Creates a FreeTTSEngineCentral

Throws:
java.lang.Exception
Method Detail

createEngineList

public EngineList createEngineList(EngineModeDesc require)
Returns a list containing references to all matching synthesizers. The mapping of FreeTTS VoiceDirectories and Voices to JSAPI Synthesizers and Voices is as follows:

Parameters:
require - an engine mode that describes the desired synthesizer
Returns:
an engineList containing matching engines, or null if no matching engines are found