|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthmi.elckerlyc.speechengine.DirectTTSUnit.MyTTSCallback
protected class DirectTTSUnit.MyTTSCallback
| Constructor Summary | |
|---|---|
protected |
DirectTTSUnit.MyTTSCallback()
|
| Method Summary | |
|---|---|
void |
bookmarkCallback(String bookmark)
Bookmark callback called whenever a bookmark <bookmark mark=&qout;name&qoute;> is reached |
void |
phonemeCallback(int phoneme,
int dur,
int nextPhoneme,
boolean stress)
Phoneme callback |
void |
sentenceBoundryCallback(int offset,
int length)
|
boolean |
stopCallback()
Return true to cancel speaking |
void |
visimeCallback(int visime,
int duration,
int nextVis,
boolean stress)
Phoneme callback |
void |
wordBoundryCallback(int offset,
int length)
Wordboundry callback |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected DirectTTSUnit.MyTTSCallback()
| Method Detail |
|---|
public void bookmarkCallback(String bookmark)
TTSCallback
bookmarkCallback in interface TTSCallbackbookmark - name of the bookmark
public void phonemeCallback(int phoneme,
int dur,
int nextPhoneme,
boolean stress)
TTSCallback
phonemeCallback in interface TTSCallbackphoneme - phoneme numberdur - phoneme duration (in ms)nextPhoneme - phoneme number of the next phonemestress - stressed?
public void sentenceBoundryCallback(int offset,
int length)
sentenceBoundryCallback in interface TTSCallbackoffset - offset, in characters of the string that is spokenlength - length of the sentence, in characterspublic boolean stopCallback()
TTSCallback
stopCallback in interface TTSCallback
public void visimeCallback(int visime,
int duration,
int nextVis,
boolean stress)
TTSCallback
visimeCallback in interface TTSCallbackduration - visime duration (in ms)nextVis - visime number of the next phoneme
public void wordBoundryCallback(int offset,
int length)
TTSCallback
wordBoundryCallback in interface TTSCallbackoffset - offset, in characters of the string that is spokenlength - length, in characters, of the word
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||