Declared in STMediaParams_doc.h

Overview

This struct describes the Audio Segment parameters.

A STAudioSegment object can be created as follows:

let stAudioSegment = STAudioSegment()

Tasks

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

isSSML

var isSSML: Bool = false

Discussion

Specifies wheter text contiaind SSML markup or not..

Declared In

STMediaParams_doc.h

mediaItemID

var mediaItemID: String = "0"

Discussion

The 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.

Declared In

STMediaParams_doc.h