| Operations Summary: | |
| void | initWithVoiceInfo(in string name, in long gender, in long age, in string style) |
| SpeechObject | clone() |
| boolean | equals(in Voice anObject) |
| long | getAge() |
| long | getGender() |
| string | getName() |
| string | getStyle() |
| boolean | match(in Voice require) |
| void | setAge(in long age) |
| void | setGender(in long gender) |
| void | setName(in string name) |
| void | setStyle(in string style) |
| Operations Inherited from Bonobo::Unknown | |
| ref, unref, queryInterface | |
| Operation Details: |
Initializer provided with voice name, gender, age and style.
Create a copy of this Voice.
Voice.
Returns true if and only if the parameter is not null
and is a Voice with equal values of name, age, gender,
and style.
Get the voice age. Age values are OR'able.
AGE_CHILD
AGE_TEENAGER
AGE_YOUNGER_ADULT
AGE_MIDDLE_ADULT
AGE_OLDER_ADULT
AGE_NEUTRAL
AGE_DONT_CARE Get the voice gender. Gender values are OR'able.
GENDER_FEMALE
GENDER_MALE
GENDER_NEUTRAL
GENDER_DONT_CARE Get the voice name. May return null.
Get the voice style. This parameter is designed for human interpretation. Values might include "business", "casual", "robotic", "breathy".
Determine whether a Voice has all the features
defined in the require object. Strings in
require which are either null
or zero-length ("") are ignored. All string comparisons are
exact matches (case-sensitive).
GENDER_DONT_CARE and AGE_DONT_CARE
values in the require object are ignored. The age
and gender parameters are OR'ed: e.g. the required age can be
AGE_TEENAGER | AGE_CHILD.
Voice to match against. Set the voice age.
AGE_CHILD
AGE_TEENAGER
AGE_YOUNGER_ADULT
AGE_MIDDLE_ADULT
AGE_OLDER_ADULT
AGE_NEUTRAL
AGE_DONT_CARE Set the voice gender.
GENDER_FEMALE
GENDER_MALE
GENDER_NEUTRAL
GENDER_DONT_CARE Set the voice name. A null or "" string in voice match means don't care.
Set the voice style.