hmi.tts.sapi5
Class SAPI5SSMLTTSBridge
java.lang.Object
hmi.tts.sapi5.SAPI5SSMLTTSBridge
- All Implemented Interfaces:
- TTSBridge
public class SAPI5SSMLTTSBridge
- extends Object
- implements TTSBridge
|
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 |
ttsGenerator
private final SAPI5TTSGenerator ttsGenerator
SSMLOPEN
private static final String SSMLOPEN
- See Also:
- Constant Field Values
SSMLCLOSE
private static final String SSMLCLOSE
- See Also:
- Constant Field Values
SAPI5SSMLTTSBridge
public SAPI5SSMLTTSBridge(SAPI5TTSGenerator ttsGen)
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