Film kit command

sequence.applyAudioTransition

Apply Audio Transition

Applies an audio transition (`effect`, default the default audio transition, `frames` long) at the edit nearest the playhead on targeted tracks, or at `clip`'s `edge`; between two clips `align` puts it centred on the cut (default), starting or ending there. Its length is kept inside the clips it joins.

Kit
Film 0.1.0 (.kfilm)
Changes the document
yes
Acts on
clip (one id), which a run step’s on fills

Parameters

Parameters of sequence.applyAudioTransition
NameTypeRequiredDescription
align"center" | "start" | "end"no
clipintegerno
edge"in" | "out"no
effectstringno
framesintegerno
paramsobjectnoread by the command beside its listed parameters
reversebooleannoread by the command beside its listed parameters

Call through film_run

text
film_run {
  "path": "<file>.kfilm",
  "steps": [{ "command": "sequence.applyAudioTransition" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: align, clip, edge, effect, frames, params, reverse. film_run answers the step’s result in completed[i].result.

Result

The kit gives no result schema for this command.

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "align": {
      "enum": [
        "center",
        "start",
        "end"
      ],
      "type": "string"
    },
    "clip": {
      "type": "integer",
      "x-khp-types": [
        "Clip"
      ]
    },
    "edge": {
      "enum": [
        "in",
        "out"
      ],
      "type": "string"
    },
    "effect": {
      "type": "string"
    },
    "frames": {
      "type": "integer"
    },
    "params": {
      "additionalProperties": true,
      "description": "read by the command beside its listed parameters",
      "type": "object"
    },
    "reverse": {
      "description": "read by the command beside its listed parameters",
      "type": "boolean"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (film_commands through @kition/[email protected], built from KitionAI/kition-film@375db59). As data: commands.jsonl.