hmi.tts
Class BMLTTSBridge

java.lang.Object
  extended by hmi.tts.BMLTTSBridge
All Implemented Interfaces:
TTSBridge

public class BMLTTSBridge
extends Object
implements TTSBridge


Field Summary
private  AbstractTTSGenerator ttsGenerator
           
 
Constructor Summary
BMLTTSBridge(AbstractTTSGenerator ttsGen)
           
 
Method Summary
 TimingInfo getTiming(String text)
          Gets the timing of the text, fills out visime, phoneme,bookmark and word lists
 TimingInfo speak(String text)
          Speaks out the sentence, does the appropriate callbacks, fills out visime,
 TimingInfo speakToFile(String text, String filename)
          Generates a file containing the spoken sentence, does the apropiate callbacks, fills out visime, phoneme, bookmark and word lists.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ttsGenerator

private final AbstractTTSGenerator ttsGenerator
Constructor Detail

BMLTTSBridge

public BMLTTSBridge(AbstractTTSGenerator ttsGen)
Method Detail

speak

public TimingInfo speak(String text)
Description copied from interface: TTSBridge
Speaks out the sentence, does the appropriate callbacks, fills out visime,

Specified by:
speak in interface TTSBridge
Parameters:
text - the text or script to speak

speakToFile

public TimingInfo speakToFile(String text,
                              String filename)
                       throws IOException
Description copied from interface: TTSBridge
Generates a file containing the spoken sentence, does the apropiate callbacks, fills out visime, phoneme, bookmark and word lists.

Specified by:
speakToFile in interface TTSBridge
Parameters:
text - the text or script to speak
Throws:
FileNotFoundException
IOException

getTiming

public TimingInfo getTiming(String text)
Description copied from interface: TTSBridge
Gets the timing of the text, fills out visime, phoneme,bookmark and word lists

Specified by:
getTiming in interface TTSBridge
Parameters:
text - the text or script to get the timing of