Declared in Voiceflow.schema.json

Overview

Specifies the Voice Activity Detection (VAD) parameters used for processing recorded audio.

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

  •   enableVAD

    Specifies if Voice Activity Detection will be enabled on the recorded audio. Default: "false". The value can be set at runtime using the "enableVADRuntime" property.

    Parameter is optional.

      json parameter
  •   enableVADRuntime

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

    Parameter is optional.

      json parameter
  •   minSpeechToDetectMs

    Specifies the minimum duration in milliseconds of speech energy for VAD to declare that speech is detected. Default: 200. The value can be set at runtime using the "minSpeechToDetectMsRuntime" property. Parameter is optional.

      json parameter
  •   minSpeechToDetectMsRuntime

    Contains the name of a field, as a string wrapped between "$[" and "]", whose integer value can be set at runtime by an application. If the value of the field is a valid integer, then it will replace the value entered in the "minSpeechToDetectMs" property. Example: "$[MinSpeechToDetectMs]". Parameter is optional.

      json parameter
  •   minSilenceToDetectMs

    Specifies the minimum duration in milliseconds of silence for VAD to declare that silence is detected. Default: 500. The value can be set at runtime using the "minSilenceToDetectMsRuntime" property. Parameter is optional.

      json parameter
  •   minSilenceToDetectMsRuntime

    Contains the name of a field, as a string wrapped between "$[" and "]", whose integer value can be set at runtime by an application. If the value of the field is a valid integer, then it will replace the value entered in the "minSilenceToDetectMs" property. Example: "$[MinSilenceToDetectMs]". Parameter is optional.

      json parameter
  •   vadSensitivity

    Specifies the sensitivity of VAD. Higher sensitiviy result in VAD detection to be more sensitive to changes in audio energy . Values: "verylow", "low", "moderate" or "high". Default: "low". The value can be set at runtime using "$[<FieldName>]" entry convention.

    Parameter is optional.

      json parameter
  •   trimSilence

    Specifies if silence to be trimmed from the recorded audio. Default: "false". The value can be set at runtime using the "trimSilenceRuntime" property.

    Parameter is optional.

      json parameter
  •   trimSilenceRuntime

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

    Parameter is optional.

      json parameter
  •   savePreTrimAudio

    Specifies if the original recorded audio should also be saved in its own file if "trimSilence" is "true". Default: "false". if "true", this will result in another file to be recorded with base file name containing "preTrim" string. The value can be set at runtime using the "savePreTrimAudioRuntime" property.

    Parameter is optional.

      json parameter
  •   savePreTrimAudioRuntime

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

    Parameter is optional.

      json parameter

JSON Parameters

enableVAD

"enableVAD": boolean

Discussion

Specifies if Voice Activity Detection will be enabled on the recorded audio. Default: "false". The value can be set at runtime using the "enableVADRuntime" property.

Parameter is optional.

Declared In

Voiceflow.schema.json

enableVADRuntime

"enableVADRuntime": 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 "enableVAD" property. Example: "$[EnableVAD]".

Parameter is optional.

Declared In

Voiceflow.schema.json

minSilenceToDetectMs

"minSilenceToDetectMs": integer

Discussion

Specifies the minimum duration in milliseconds of silence for VAD to declare that silence is detected. Default: 500. The value can be set at runtime using the "minSilenceToDetectMsRuntime" property. Parameter is optional.

Declared In

Voiceflow.schema.json

minSilenceToDetectMsRuntime

"minSilenceToDetectMsRuntime": string

Discussion

Contains the name of a field, as a string wrapped between "$[" and "]", whose integer value can be set at runtime by an application. If the value of the field is a valid integer, then it will replace the value entered in the "minSilenceToDetectMs" property. Example: "$[MinSilenceToDetectMs]". Parameter is optional.

Declared In

Voiceflow.schema.json

minSpeechToDetectMs

"minSpeechToDetectMs": integer

Discussion

Specifies the minimum duration in milliseconds of speech energy for VAD to declare that speech is detected. Default: 200. The value can be set at runtime using the "minSpeechToDetectMsRuntime" property. Parameter is optional.

Declared In

Voiceflow.schema.json

minSpeechToDetectMsRuntime

"minSpeechToDetectMsRuntime": string

Discussion

Contains the name of a field, as a string wrapped between "$[" and "]", whose integer value can be set at runtime by an application. If the value of the field is a valid integer, then it will replace the value entered in the "minSpeechToDetectMs" property. Example: "$[MinSpeechToDetectMs]". Parameter is optional.

Declared In

Voiceflow.schema.json

savePreTrimAudio

"savePreTrimAudio": boolean

Discussion

Specifies if the original recorded audio should also be saved in its own file if "trimSilence" is "true". Default: "false". if "true", this will result in another file to be recorded with base file name containing "preTrim" string. The value can be set at runtime using the "savePreTrimAudioRuntime" property.

Parameter is optional.

Declared In

Voiceflow.schema.json

savePreTrimAudioRuntime

"savePreTrimAudioRuntime": 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 "savePreTrimAudio" property. Example: "$[SavePreTrimAudio]".

Parameter is optional.

Declared In

Voiceflow.schema.json

trimSilence

"trimSilence": boolean

Discussion

Specifies if silence to be trimmed from the recorded audio. Default: "false". The value can be set at runtime using the "trimSilenceRuntime" property.

Parameter is optional.

Declared In

Voiceflow.schema.json

trimSilenceRuntime

"trimSilenceRuntime": 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 "trimSilence" property. Example: "$[TrimSilence]".

Parameter is optional.

Declared In

Voiceflow.schema.json

vadSensitivity

"vadSensitivity": string

Discussion

Specifies the sensitivity of VAD. Higher sensitiviy result in VAD detection to be more sensitive to changes in audio energy . Values: "verylow", "low", "moderate" or "high". Default: "low". The value can be set at runtime using "$[<FieldName>]" entry convention.

Parameter is optional.

Declared In

Voiceflow.schema.json