The voice object, SVoice, encapsulates the voice resources, definitions and functions.
SVoiceSynthUtt | Synthesize an utterance with the given utterance type and input. |
SVoiceReSynthUtt | Re-synthesize an utterance with the given utterance type. |
SVoiceGetName | Get the given voice’s name. |
SVoiceGetDescription | Get the given voice’s description. |
SVoiceGetGender | Get the given voice’s gender. |
SVoiceGetLanguage | Get the given voice’s language. |
SVoiceGetLangCode | Get the given voice’s ISO 639-2 language code. |
SVoiceGetVersion | Get the given voice’s version. |
SVoiceGetDataKeys | Get a list of the data keys in the voice. |
SVoiceDataIsPresent | Query if named data object is present in the given voice. |
SVoiceGetData | Get the voice data object of the named key. |
SVoiceSetData | Set the value of the named voice data key to the given SObject. |
SVoiceDelData | Delete the value of the named key from the voice data container. |
SVoiceGetFeatureKeys | Get a list of the feature keys in the voice. |
SVoiceFeatureIsPresent | Query if named feature object is present in the given voice. |
SVoiceGetFeature | Get the voice feature object of the named key. |
SVoiceSetFeature | Set the value of the named voice feature key to the given SObject. |
SVoiceDelFeature | Delete the value of the named key from the voice feature container. |
SVoiceGetFeatProcKeys | Get a list of the feature processor keys in the voice. |
SVoiceFeatProcIsPresent | Query if named feature processor is present in the given voice. |
SVoiceGetFeatProc | Get the voice feature processor object of the named key. |
SVoiceSetFeatProc | Set the value of the named voice feature processor key to the given SFeatProcessor. |
SVoiceDelFeatProc | Delete the value of the named key from the voice feature processor container. |
SVoiceGetUttProcKeys | Get a list of the utterance processor keys in the voice. |
SVoiceUttProcIsPresent | Query if named utterance processor is present in the given voice. |
SVoiceGetUttProc | Get the voice utterance processor object of the named key. |
SVoiceSetUttProc | Set the value of the named voice utterance processor key to the given SUttProcessor. |
SVoiceDelUttProc | Delete the value of the named key from the voice utterance processor container. |
SVoiceGetUttTypesKeys | Get a list of the voice utterance type keys in the voice. |
SVoiceUttTypeIsPresent | Query if named utterance type is present in the given voice. |
SVoiceGetUttType | Get the voice utterance type object of the named key. |
SVoiceSetUttType | Set the value of the named voice utterance type key to the given SList of string objects of the utterance processors defined for the utterance type. |
SVoiceDelUttType | Delete the value of the named key from the voice utterance type container. |
The SVoice structure.
The SVoiceClass structure.
Synthesize an utterance with the given utterance type and input.
Parameters: |
|
---|---|
Return: | The synthesized utterance. |
Note: | The caller is responsible for the memory of the returned utterance. The voice takes hold of the inputSObject |
Re-synthesize an utterance with the given utterance type.
This is used when an utterance was synthesized with a certain utterance type, and now it must be synthesized with a different utterance type.
Parameters: |
|
---|
Get the given voice’s name.
Parameters: |
|
---|---|
Return: | Pointer to voice’s name. |
Get the given voice’s description.
Parameters: |
|
---|---|
Return: | Pointer to voice’s description. |
Get the given voice’s gender.
Parameters: |
|
---|---|
Return: | Pointer to voice’s gender. |
Get the given voice’s language.
Parameters: |
|
---|---|
Return: | Pointer to voice’s language. |
Get the given voice’s ISO 639-2 language code.
Parameters: |
|
---|---|
Return: | Pointer to voice’s language code. |
Note: | See http://en.wikipedia.org/wiki/List_of_ISO_639-2_codes for the language codes. |
Get a list of the data keys in the voice.
The list objects (keys) are string objects and are accessed with SObjectGetString.
Parameters: |
|
---|---|
Return: | |
Note: | The caller is responsible for the memory of the returned SList object. |
Query if named data object is present in the given voice.
Parameters: |
|
---|---|
Return: |
Get the voice data object of the named key.
Parameters: |
|
---|---|
Return: | Pointer to the data object of the named key, or NULL if data of named key is not present in voice. |
Set the value of the named voice data key to the given SObject.
If the named key already exists then it’s SObject will be deleted (if not referenced) and replaced.
Parameters: |
|
---|---|
Note: | The voice takes hold of the objectSObject. |
Get a list of the feature keys in the voice.
Parameters: |
|
---|---|
Return: | SList of keys, or NULL if the feature container is empty. The list objects (keys) are string objects and are accessed with SObjectGetString. |
Note: | The caller is responsible for the memory of the returned SList object. |
Query if named feature object is present in the given voice.
Parameters: |
|
---|---|
Return: |
Get the voice feature object of the named key.
Parameters: |
|
---|---|
Return: | Pointer to the feature object of the named key, or NULL if feature of named key is not present in voice. |
Set the value of the named voice feature key to the given SObject.
If the named key already exists then it’s SObject will be deleted (if not referenced) and replaced.
Parameters: |
|
---|---|
Note: | The voice takes hold of the objectSObject. |
Delete the value of the named key from the voice feature container.
The key is removed and value deleted if it is not referenced.
Parameters: |
|
---|
Get a list of the feature processor keys in the voice.
Parameters: |
|
---|---|
Return: | SList of keys, or NULL if the feature processor container is empty. The list objects (keys) are string objects and are accessed with SObjectGetString. |
Note: | The caller is responsible for the memory of the returned SList object. |
Query if named feature processor is present in the given voice.
Parameters: |
|
---|---|
Return: |
Get the voice feature processor object of the named key.
Parameters: |
|
---|---|
Return: | Pointer to the feature processor object of the named key, or NULL if feature processor of named key is not present in voice. |
Set the value of the named voice feature processor key to the given SFeatProcessor.
If the named key already exists then it’s SFeatProcessor will be deleted (if not referenced) and replaced.
Parameters: |
|
---|---|
Note: | The voice takes hold of the featProcSFeatProcessor. |
Delete the value of the named key from the voice feature processor container.
The key is removed and value deleted if it is not referenced.
Parameters: |
|
---|
Get a list of the utterance processor keys in the voice.
Parameters: |
|
---|---|
Return: | SList of keys, or NULL if the utterance processor container is empty. The list objects (keys) are string objects and are accessed with SObjectGetString. |
Note: | The caller is responsible for the memory of the returned SList object. |
Query if named utterance processor is present in the given voice.
Parameters: |
|
---|---|
Return: |
Get the voice utterance processor object of the named key.
Parameters: |
|
---|---|
Return: | Pointer to the utterance processor object of the named key, or NULL if utterance processor of named key is not present in voice. |
Set the value of the named voice utterance processor key to the given SUttProcessor.
If the named key already exists then it’s SUttProcessor will be deleted (if not referenced) and replaced.
Parameters: |
|
---|---|
Note: | The voice takes hold of the uttProcSUttProcessor. |
Delete the value of the named key from the voice utterance processor container.
The key is removed and value deleted if it is not referenced.
Parameters: |
|
---|
Get a list of the voice utterance type keys in the voice.
Parameters: |
|
---|---|
Return: | SList of keys, or NULL if the utterance type container is empty. The list objects (keys) are string objects and are accessed with SObjectGetString. |
Note: | The caller is responsible for the memory of the returned SList object. |
Query if named utterance type is present in the given voice.
Parameters: |
|
---|---|
Return: |
Get the voice utterance type object of the named key.
Parameters: |
|
---|---|
Return: | SList of string objects (access with SObjectGetString) of the utterance processors defined for the named utterance type, or NULL if utterance type of named key is not present in voice. |
Set the value of the named voice utterance type key to the given SList of string objects of the utterance processors defined for the utterance type.
If the named key already exists then it’s SList will be deleted (if not referenced) and replaced.
Parameters: |
|
---|---|
Note: | The voice takes hold of the uttTypeSList. |
Delete the value of the named key from the voice utterance type container.
The key is removed and value deleted if it is not referenced.
Parameters: |
|
---|