se.chalmers.cs.gf.dialogutil.tts
Class FreeTTSAgentSpeechOutput

java.lang.Object
  extended by se.chalmers.cs.gf.dialogutil.tts.FreeTTSAgentSpeechOutput
All Implemented Interfaces:
java.util.EventListener, TextListener

public class FreeTTSAgentSpeechOutput
extends java.lang.Object
implements TextListener

Outputs text to FreeTTS using FreeTTSAgent.


Constructor Summary
FreeTTSAgentSpeechOutput(OAAClient client)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void speakText(java.lang.String text)
           
 void textEvent(TextEvent e)
          Handle a text event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FreeTTSAgentSpeechOutput

public FreeTTSAgentSpeechOutput(OAAClient client)
Method Detail

speakText

public void speakText(java.lang.String text)

textEvent

public void textEvent(TextEvent e)
Description copied from interface: TextListener
Handle a text event.

Specified by:
textEvent in interface TextListener
Parameters:
e - The event object

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException