|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpgbennett.speech.CepstralSpeaker
public class CepstralSpeaker
| Constructor Summary | |
|---|---|
CepstralSpeaker()
Creates a new instance of CepstralSpeaker |
|
| Method Summary | |
|---|---|
boolean |
close()
Close file or sound output device |
java.lang.String[] |
getVoiceList()
|
boolean |
init()
|
void |
setPath(java.lang.String path)
|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CepstralSpeaker()
| Method Detail |
|---|
public void setPath(java.lang.String path)
public boolean close()
SpeechInterface
close in interface SpeechInterfacepublic boolean init()
init in interface SpeechInterfacepublic boolean setRate(int rate)
SpeechInterface
setRate in interface SpeechInterfacerate - Rate, valid values are from -10 to 10public void setVoice(java.lang.String voiceName)
setVoice in interface SpeechInterfacepublic boolean setVolume(int volume)
SpeechInterface
setVolume in interface SpeechInterfacevolume - Volume from 0 to 100public boolean speak(java.lang.String strInput)
SpeechInterface
speak in interface SpeechInterfacestrInput - String with words to convert to speechpublic java.lang.String[] getVoiceList()
getVoiceList in interface SpeechInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||