|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SpeechInterface
| Method Summary | |
|---|---|
boolean |
close()
Close file or sound output device |
java.lang.String[] |
getVoiceList()
|
boolean |
init()
|
boolean |
setRate(int rate)
Sets the rate (speed) of output speech |
void |
setVoice(java.lang.String voiceName)
|
boolean |
setVolume(int volume)
Set output volume for text, default is 100 |
boolean |
speak(java.lang.String strInput)
Converts the given input text to speech. |
| Method Detail |
|---|
boolean init()
boolean speak(java.lang.String strInput)
strInput - String with words to convert to speechboolean setRate(int rate)
rate - Rate, valid values are from -10 to 10boolean setVolume(int volume)
volume - Volume from 0 to 100boolean close()
void setVoice(java.lang.String voiceName)
java.lang.String[] getVoiceList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||