SpeechTilesAndamento Docs
Get started
Configuration Reference

Duck Action

JSON property duck

JSON type object

Used in Interrupt Event Policy

Controls temporary audio-volume reduction and restoration.

Behavior and notes

  • The default values produce no audible ducking.

Developer guidance

Duck Action supplies volume and fade timing for an interruption event policy. Its volume and fade settings are meaningful when the enclosing action uses ducking.

Example in context

Illustrative JSON excerpt (not a complete configuration document):

{
  "interruptionBehavior": {
    "audioPlayback": {
      "onAudioSilenceBegin": {
        "action": "duck",
        "duck": {
          "volume": 0.5,
          "fadeInMs": 200,
          "fadeOutMs": 200
        }
      }
    }
  }
}

The values illustrate the object shape; confirm desired volume and fade behavior for the chosen audio workflow.

Properties

volume

numberOptionalDefault: 1.0

Target ducked volume.

Runtime fields: Supported — The complete property value may be supplied using $[FieldName].

fadeInMs

integerOptionalDefault: 0

Duration used to restore normal volume.

Runtime fields: Supported — The complete property value may be supplied using $[FieldName].

fadeOutMs

integerOptionalDefault: 0

Duration used to transition from normal volume to the ducked level.

Runtime fields: Supported — The complete property value may be supplied using $[FieldName].