Declared in AudioPromptModuleList.schema.json

Overview

The parameters to control saving speech synthesis of an audio segment into a file.

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

  •   enable

    Enable or disable saving speech synthesis into a file. The value can be set at runtime using the "enableRuntime" property.

    Parameter is optional.

      json parameter
  •   enableRuntime

    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 "enable" property. Example: "$[Enable]".

    Parameter is optional.

      json parameter
  •   offlineMode

    If true, then audio playback will not occur on a device. Only speech synthesis is saved into a file. The value can be set at runtime using the "offlineModeRuntime" property.

    Parameter is optional.

      json parameter
  •   offlineModeRuntime

    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 "offlineMode" property. Example: "$[OfflineMode]".

    Parameter is optional.

      json parameter
  •   recordInsertedSilence

    If true, then inserted silence in synthesized speech between phrases and paragraphs gets also recorded. The value can be set at runtime using the "recordInsertedSilenceRuntime" property.

    Parameter is optional.

      json parameter
  •   recordInsertedSilenceRuntime

    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 "recordInsertedSilence" property. Example: "$[RecordInsertedSilence]".

    Parameter is optional.

      json parameter
  •   filetype

    Type of audio file to contain the synthesized audio. options are "wav", "m4a", and "caf". The value can be set at runtime using "$[<FieldName>]" entry convention.

    Parameter is optional.

      json parameter
  •   fileBaseName

    File base name. ".wav", ".m4a", or ".caf" is appended. The value can be set at runtime using "$[<FieldName>]" entry convention.

    Parameter is optional.

      json parameter
  •   fileURLPath

    Folder path where the synthesized audio file is saved. The value can be set at runtime using "$[<FieldName>]" entry convention.

    Parameter is optional.

      json parameter
  •   languageFolder

    If specified that "languageFolder" name. this will be appended ot the "fileURLPath". The value can be set at runtime using "$[<FieldName>]" entry convention.

    Parameter is optional.

      json parameter
  •   audioFormat

    The parameters to control the audio format of the recorded synthesized audio to a file.

    Parameter is optional.

      json parameter

JSON Parameters

audioFormat

"audioFormat": object - audioFormat

Discussion

The parameters to control the audio format of the recorded synthesized audio to a file.

Parameter is optional.

Declared In

AudioPromptModuleList.schema.json

enable

"enable": boolean

Discussion

Enable or disable saving speech synthesis into a file. The value can be set at runtime using the "enableRuntime" property.

Parameter is optional.

Declared In

AudioPromptModuleList.schema.json

enableRuntime

"enableRuntime": 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 "enable" property. Example: "$[Enable]".

Parameter is optional.

Declared In

AudioPromptModuleList.schema.json

fileBaseName

"fileBaseName": string

Discussion

File base name. ".wav", ".m4a", or ".caf" is appended. The value can be set at runtime using "$[<FieldName>]" entry convention.

Parameter is optional.

Declared In

AudioPromptModuleList.schema.json

fileURLPath

"fileURLPath": string

Discussion

Folder path where the synthesized audio file is saved. The value can be set at runtime using "$[<FieldName>]" entry convention.

Parameter is optional.

Declared In

AudioPromptModuleList.schema.json

filetype

"filetype": string

Discussion

Type of audio file to contain the synthesized audio. options are "wav", "m4a", and "caf". The value can be set at runtime using "$[<FieldName>]" entry convention.

Parameter is optional.

Declared In

AudioPromptModuleList.schema.json

languageFolder

"languageFolder": string

Discussion

If specified that "languageFolder" name. this will be appended ot the "fileURLPath". The value can be set at runtime using "$[<FieldName>]" entry convention.

Parameter is optional.

Declared In

AudioPromptModuleList.schema.json

offlineMode

"offlineMode": boolean

Discussion

If true, then audio playback will not occur on a device. Only speech synthesis is saved into a file. The value can be set at runtime using the "offlineModeRuntime" property.

Parameter is optional.

Declared In

AudioPromptModuleList.schema.json

offlineModeRuntime

"offlineModeRuntime": 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 "offlineMode" property. Example: "$[OfflineMode]".

Parameter is optional.

Declared In

AudioPromptModuleList.schema.json

recordInsertedSilence

"recordInsertedSilence": boolean

Discussion

If true, then inserted silence in synthesized speech between phrases and paragraphs gets also recorded. The value can be set at runtime using the "recordInsertedSilenceRuntime" property.

Parameter is optional.

Declared In

AudioPromptModuleList.schema.json

recordInsertedSilenceRuntime

"recordInsertedSilenceRuntime ": 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 "recordInsertedSilence" property. Example: "$[RecordInsertedSilence]".

Parameter is optional.

Declared In

AudioPromptModuleList.schema.json