com.sun.speech.freetts.jsapi
Class FreeTTSEngineCentral

java.lang.Object
  extended bycom.sun.speech.freetts.jsapi.FreeTTSEngineCentral
All Implemented Interfaces:
javax.speech.EngineCentral

public class FreeTTSEngineCentral
extends java.lang.Object
implements javax.speech.EngineCentral

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
 javax.speech.EngineList createEngineList(javax.speech.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

Method Detail

createEngineList

public javax.speech.EngineList createEngineList(javax.speech.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:

Specified by:
createEngineList in interface javax.speech.EngineCentral
Parameters:
require - an engine mode that describes the desired synthesizer
Returns:
an engineList containing matching engines, or null if no matching engines are found