BZSSVoiceParams Class Reference
Inherits from | NSObject |
Declared in | BZMediaParams.h |
Overview
This interface describes the Speech Synthesize voice parameters. Default value of all parameters are nil. One or multiple of the parameters may not be specified. Media framework will select a voice that best matches the parameters specified. If none are specified, or if the parameters specified do not result in the target voice to be selected then a default one will be selected by the Speeh Synthesizer engines.
For Apple SS, voice to be selected needs to be already loaded on a user’s device. For example, for an iphone, need to navigate through setting menus and download specific voices if not already downloaded and available: Settings–>Accessibility–>Spoken Content–>Voices, then select language then voice to download.
A BZSSVoiceParams object can be created as follows:
BZSSVoiceParams* m_SSVoiceParams = [[BZSSVoiceParams alloc] init];
Swift
let bzSSVoiceParams = BZSSVoiceParams()
Tasks
-
m_strSSVoiceID
The speech synthesizer voice ID. Voice ID applies only to Apple SS. An example of a voice ID:com.apple.ttsbundle.Samantha.
-
m_strSSVoiceName
The voice name to be selected by the speech synthesizer. Example for Apple SS: Samantha. Example for Flite SS: slt-hts.
For Apple SS, to find all voices on an apple mobile device, navigate to Settings–>Accessibility–>Spoken Content–>Voices and download the desired voice if not already downloaded.
For Flite SS, the following voices are available: “slt”, “rms”, “kal16”, “awb”, “time_awb”, “bdl-flitevox”, “jmk-flitevox”, “slt-hts” and “crts-hts”. -
m_strSSVoiceGender
The gender of the voice to be selected by the speech synthesizer. options are “male” or “female”.
-
m_strSSVoiceQuality
The quality of the voice. For Apple SS. Options are: “standard”, “enhanced” and “premium”.
-
m_strSSVoiceLanguageCode
The language the voice can speak. Apple SS supports many languages throught the selection of the voice. Example: “en-us” for american english.
Properties
m_strSSVoiceGender
@property NSString *m_strSSVoiceGender
Discussion
The gender of the voice to be selected by the speech synthesizer. options are “male” or “female”.
Declared In
BZMediaParams.h
m_strSSVoiceID
@property NSString *m_strSSVoiceID
Discussion
The speech synthesizer voice ID. Voice ID applies only to Apple SS. An example of a voice ID:com.apple.ttsbundle.Samantha.
Declared In
BZMediaParams.h
m_strSSVoiceLanguageCode
@property NSString *m_strSSVoiceLanguageCode
Discussion
The language the voice can speak. Apple SS supports many languages throught the selection of the voice. Example: “en-us” for american english.
Declared In
BZMediaParams.h
m_strSSVoiceName
@property NSString *m_strSSVoiceName
Discussion
The voice name to be selected by the speech synthesizer. Example for Apple SS: Samantha. Example for Flite SS: slt-hts.
For Apple SS, to find all voices on an apple mobile device, navigate to Settings–>Accessibility–>Spoken Content–>Voices and download the desired voice if not already downloaded.
For Flite SS, the following voices are available: “slt”, “rms”, “kal16”, “awb”, “time_awb”, “bdl-flitevox”, “jmk-flitevox”, “slt-hts” and “crts-hts”.
Declared In
BZMediaParams.h