Audio Prompt Module JSON Reference
| Declared in | AudioPromptModuleList.schema.json |
Overview
An Audio Prompt Module is configured for audio playback of multiple Audio Segments or for audio playback of other referenced multiple Audio Prompt Modules.
Note: Unless stated otherwise, value of properties that are of type "string" can be updated at runtime by an application if their value is entered as a field name wrapped by "$[" and "]". If a property is of a type other than "string", then an additional property of type "string" with the same property name appended with the string "Runtime" is added to have its value entered as a field name wrapped by "$[" and "]". This allows the application to set the value of the field name at runtime to be the value of the original non-runtime property. Valid values of runtime fields override the values of non-runtime properties.
Properties
-
idjson parameterUnique ID of an Audio Prompt Module. The value cannot be set at runtime.`
Parameter is required.
-
stylejson parameterStyle of selection of audio segments or Audio Prompt Modules. Values:
"single","select","combo", or"serial". If Audio Prompt Module references a collection of other Audio Prompt Module IDs then Default:"combo". The value can be set at runtime using"$[<FieldName>]"entry convention.Parameter is required.
-
audioFilejson parameterThe name of the audio file containing the recorded Audio Segment for audio playback. The value can be set at runtime using
"$[<FieldName>]"entry convention.Parameter is optional.
-
textStringjson parameterThe text string to be synthesized for audio playback. The value can be set at runtime using
"$[<FieldName>]"entry convention.Parameter is optional.
-
textFilejson parameterThe name of the text file containing the text to be synthesized for audio playback. The value can be set at runtime using
"$[<FieldName>]"entry convention.Parameter is optional.
-
textIsSSMLjson parameterSpecifies whether the text to be synthesized contains Speech Synthesis Markup Language
"SSML". Values:"true"or"false". Default:"false". The value can be set at runtime using the"textIsSSMLRuntime"property.Parameter is optional.
-
textIsSSMLRuntimejson parameterContains the name of a field, as a string wrapped between
"$["and"]", whose boolean value can be set at runtime by an application. If the value of the field is a valid boolean, then it will replace the value entered in the"textIsSSML"property. Example:"textIsSSMLRuntime": "$[TextIsSSML]".Parameter is optional.
-
autoDetectSSMLjson parameterSpecifies whether the the speech synthesis should attempt to auto detect if the text contains SSML markup and to process accordingly.
Parameter is optional.
-
autoDetectSSMLRuntimejson parameterContains the name of a field, as a string wrapped between
"$["and"]", whose boolean value can be set at runtime by an application. If the value of the field is a valid boolean, then it will replace the value entered in the"autoDetectSSML"property. Example:"autoDetectSSMLRuntime": "$[AutoDetectSSML]".Parameter is optional.
-
autoDetectLanguagejson parameterSpecifies whether the the speech synthesis should attempt to auto detect the language of the text and to select the proper voice for speech synthesis.
Parameter is optional.
-
autoDetectLanguageRuntimejson parameterContains the name of a field, as a string wrapped between
"$["and"]", whose boolean value can be set at runtime by an application. If the value of the field is a valid boolean, then it will replace the value entered in the"autoDetectLanguage"property. Example:"autoDetectLanguageRuntime": "$[AutoDetectLanguage]".Parameter is optional.
-
ssEnginejson parameterThe Text To Speech or Speech Synthesizer engine to be used for Speech Synthesis. Currently, only value of
"Apple"is supported which is also the default if this parameter is not specified. The value can be set at runtime using"$[<FieldName>]"entry convention.Parameter is optional.
-
languageFolderjson parameterThe name of the language folder name set up to contain the recorded audio files. Default:
"en-US". The value can be set at runtime using"$[<FieldName>]"entry convention.Parameter is optional.
-
promptCollectionjson parameterSpecifies a reference to an array of other Audio Prompt Module IDs referenced from this Audio Prompt Module.
Parameter is optional.
-
ssVoiceParamsjson parameterSpecifies the parameters of the voice used for Speech Synthesis.
Parameter is optional.
-
audioPlaybackParamsjson parameterSpecifies audio playback parameters of the Audio Segment referenced in an Audio Prompt Module.
Parameter is optional.
JSON Parameters
audioFile
"audioFile": string
Discussion
The name of the audio file containing the recorded Audio Segment for audio playback. The value can be set at runtime using "$[<FieldName>]" entry convention.
Parameter is optional.
Declared In
AudioPromptModuleList.schema.json
audioPlaybackParams
"audioPlaybackParams": object - audioPlayBackParams
Discussion
Specifies audio playback parameters of the Audio Segment referenced in an Audio Prompt Module.
Parameter is optional.
Declared In
AudioPromptModuleList.schema.json
autoDetectLanguage
"autoDetectLanguage": boolean
Discussion
Specifies whether the the speech synthesis should attempt to auto detect the language of the text and to select the proper voice for speech synthesis.
Parameter is optional.
Declared In
AudioPromptModuleList.schema.json
autoDetectLanguageRuntime
"autoDetectLanguageRuntime": string
Discussion
Contains the name of a field, as a string wrapped between "$[" and "]", whose boolean value can be set at runtime by an application. If the value of the field is a valid boolean, then it will replace the value entered in the "autoDetectLanguage" property. Example: "autoDetectLanguageRuntime": "$[AutoDetectLanguage]".
Parameter is optional.
Declared In
AudioPromptModuleList.schema.json
autoDetectSSML
"autoDetectSSML": boolean
Discussion
Specifies whether the the speech synthesis should attempt to auto detect if the text contains SSML markup and to process accordingly.
Parameter is optional.
Declared In
AudioPromptModuleList.schema.json
autoDetectSSMLRuntime
"autoDetectSSMLRuntime": string
Discussion
Contains the name of a field, as a string wrapped between "$[" and "]", whose boolean value can be set at runtime by an application. If the value of the field is a valid boolean, then it will replace the value entered in the "autoDetectSSML" property. Example: "autoDetectSSMLRuntime": "$[AutoDetectSSML]".
Parameter is optional.
Declared In
AudioPromptModuleList.schema.json
id
"id": string
Discussion
Unique ID of an Audio Prompt Module. The value cannot be set at runtime.`
Parameter is required.
Declared In
AudioPromptModuleList.schema.json
languageFolder
"languageFolder": string
Discussion
The name of the language folder name set up to contain the recorded audio files. Default: "en-US". The value can be set at runtime using "$[<FieldName>]" entry convention.
Parameter is optional.
Declared In
AudioPromptModuleList.schema.json
promptCollection
"promptCollection": array - [prompt]
Discussion
Specifies a reference to an array of other Audio Prompt Module IDs referenced from this Audio Prompt Module.
Parameter is optional.
Declared In
AudioPromptModuleList.schema.json
ssEngine
"ssEngine": string
Discussion
The Text To Speech or Speech Synthesizer engine to be used for Speech Synthesis. Currently, only value of "Apple" is supported which is also the default if this parameter is not specified. The value can be set at runtime using "$[<FieldName>]" entry convention.
Parameter is optional.
Declared In
AudioPromptModuleList.schema.json
ssVoiceParams
"ssVoiceParams": object - ssVoiceParams
Discussion
Specifies the parameters of the voice used for Speech Synthesis.
Parameter is optional.
Declared In
AudioPromptModuleList.schema.json
style
"style": string
Discussion
Style of selection of audio segments or Audio Prompt Modules. Values: "single", "select", "combo", or "serial". If Audio Prompt Module references a collection of other Audio Prompt Module IDs then Default: "combo". The value can be set at runtime using "$[<FieldName>]" entry convention.
Parameter is required.
Declared In
AudioPromptModuleList.schema.json
textFile
"textFile": string
Discussion
The name of the text file containing the text to be synthesized for audio playback. The value can be set at runtime using "$[<FieldName>]" entry convention.
Parameter is optional.
Declared In
AudioPromptModuleList.schema.json
textIsSSML
"textIsSSML": boolean
Discussion
Specifies whether the text to be synthesized contains Speech Synthesis Markup Language "SSML". Values: "true" or "false". Default: "false". The value can be set at runtime using the "textIsSSMLRuntime" property.
Parameter is optional.
Declared In
AudioPromptModuleList.schema.json
textIsSSMLRuntime
"textIsSSMLRuntime": string
Discussion
Contains the name of a field, as a string wrapped between "$[" and "]", whose boolean value can be set at runtime by an application. If the value of the field is a valid boolean, then it will replace the value entered in the "textIsSSML" property. Example: "textIsSSMLRuntime": "$[TextIsSSML]".
Parameter is optional.
Declared In
AudioPromptModuleList.schema.json