|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.speech.synthesis.Voice
org.alchar.jdtk.jsapi.DTKVoice
public class DTKVoice
This class implements the JSAPI 1.0 functionality for a DECtalk voice.
| Field Summary |
|---|
| Fields inherited from class javax.speech.synthesis.Voice |
|---|
AGE_CHILD, AGE_DONT_CARE, AGE_MIDDLE_ADULT, AGE_NEUTRAL, AGE_OLDER_ADULT, AGE_TEENAGER, AGE_YOUNGER_ADULT, GENDER_DONT_CARE, GENDER_FEMALE, GENDER_MALE, GENDER_NEUTRAL |
| Constructor Summary | |
|---|---|
DTKVoice(Voice voice)
Create a new DTKVoice object based on the given DECtalk Voice object. |
|
| Method Summary | |
|---|---|
float |
getAveragePitch()
Return the average pitch for this voice (in Hz). |
float |
getPitchRange()
Return the pitch range for this voice (in Hz). |
static DTKVoice[] |
getVoices()
Return an array of all voices. |
String |
toString()
Return a string representation of this object. |
| Methods inherited from class javax.speech.synthesis.Voice |
|---|
clone, equals, getAge, getGender, getName, getStyle, match, setAge, setGender, setName, setStyle |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DTKVoice(Voice voice)
voice - DECtalk Voice object| Method Detail |
|---|
public float getAveragePitch()
public float getPitchRange()
public static DTKVoice[] getVoices()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2007-2009 Kris Van Hees. All Rights Reserved.