STAudioSegment Struct Reference
| Declared in | STMediaParams_doc.h |
Tasks
-
audioSegmentpropertyThe audio segment file pathname URL, the text string to be speech synthesized or the text pathname URL conatining the text to be speech synthesized, depending on the audio segment type defined in the parameter audioSegmentType.
-
mediaItemIDpropertyThe Media item ID client assigns to tthis audio segment. Client will receive this media item ID with all event notifications and callbacks assiciated with this audio segment.
-
audioSegmentTypepropertyThe type of the audio segment as defined in STAudioSegmentType.
-
isSSMLpropertySpecifies wheter text contiaind SSML markup or not..
-
autoDetectSSMLpropertyOption to auto detect SSML. Ignored if audioSegmentType = AST_AUDIOFILE. If false, then audioSegmentType is used. If true, then this may override audioSegmentType for text types . Default is true.
-
autoDetectLanguagepropertyOption to auto detect language of text. Default is true.
-
audioSegmentLanguageFolderpropertyThe type of the audio segment as defined in STAudioSegmentType.
Properties
audioSegment
var audioSegment: String?
Discussion
The audio segment file pathname URL, the text string to be speech synthesized or the text pathname URL conatining the text to be speech synthesized, depending on the audio segment type defined in the parameter audioSegmentType.
Declared In
STMediaParams_doc.h
audioSegmentLanguageFolder
var audioSegmentLanguageFolder: String?
Discussion
The type of the audio segment as defined in STAudioSegmentType.
Declared In
STMediaParams_doc.h
audioSegmentType
var audioSegmentType: STAudioSegmentType = STAudioSegmentType.AST_UNKNOWN
Discussion
The type of the audio segment as defined in STAudioSegmentType.
Declared In
STMediaParams_doc.h
autoDetectLanguage
var autoDetectLanguage: Bool = false
Discussion
Option to auto detect language of text. Default is true.
Declared In
STMediaParams_doc.h
autoDetectSSML
var autoDetectSSML: Bool = false
Discussion
Option to auto detect SSML. Ignored if audioSegmentType = AST_AUDIOFILE. If false, then audioSegmentType is used. If true, then this may override audioSegmentType for text types . Default is true.
Declared In
STMediaParams_doc.h