Film kit command

mixer.addInsert

Add Track Effect

Adds a track effect `effect` to a mixer `strip` (A1…, S1…, Mix) at `slot` (default last), pre-fader unless `postFader`.

Kit
Film 0.1.0 (.kfilm)
Changes the document
yes

Parameters

Parameters of mixer.addInsert
NameTypeRequiredDescription
effectstringno
postFaderbooleanno
slotintegerno
stripinteger | stringnomixer strip id, A1/S1 ordinal, Mix/master, or case-insensitive strip name
trackinteger | stringnomixer strip id, A1/S1 ordinal, Mix/master, or case-insensitive strip name

Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: effect, postFader, slot, strip, track. 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": {
    "effect": {
      "type": "string"
    },
    "postFader": {
      "type": "boolean"
    },
    "slot": {
      "type": "integer"
    },
    "strip": {
      "description": "mixer strip id, A1/S1 ordinal, Mix/master, or case-insensitive strip name",
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        }
      ],
      "x-khp-name": "props.name",
      "x-khp-types": [
        "Track"
      ]
    },
    "track": {
      "description": "mixer strip id, A1/S1 ordinal, Mix/master, or case-insensitive strip name",
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        }
      ],
      "x-khp-name": "props.name",
      "x-khp-types": [
        "Track"
      ]
    }
  },
  "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.