---
title: "mixer.setValue: Set Mixer Control — Film kit command — Kition"
description: "Sets a mixer control (`lane`) on `strip` to `value` once: writes a keyframe at `time` when the lane has automation, else the static value. Use mixer.touch for recorded gestures."
canonical: "https://developer.kition.ai/docs/kits/film/commands/mixer.setValue"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/film/commands/mixer.setValue](https://developer.kition.ai/docs/kits/film/commands/mixer.setValue)

# mixer.setValue

**Set Mixer Control.** Sets a mixer control (`lane`) on `strip` to `value` once: writes a keyframe at `time` when the lane has automation, else the static value. Use mixer.touch for recorded gestures.

- Kit: Film 0.1.0 (.kfilm); reference: [Film kit commands](https://developer.kition.ai/docs/kits/film.md)
- Changes the document: yes

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `lane` | `"volume" \| "pan" \| "mute" \| "send.<i>.level" \| "fx.<slot>.<param>"` | no |  |
| `strip` | `integer \| string` | no | mixer strip id, A1/S1 ordinal, Mix/master, or case-insensitive strip name |
| `time` | `integer` | no | ticks (254016000000 per second) |
| `track` | `integer \| string` | no | mixer strip id, A1/S1 ordinal, Mix/master, or case-insensitive strip name |
| `value` | `number` | no |  |

## Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `lane`, `strip`, `time`, `track`, `value`. 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": {
    "lane": {
      "enum": [
        "volume",
        "pan",
        "mute",
        "send.<i>.level",
        "fx.<slot>.<param>"
      ],
      "type": "string"
    },
    "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"
      ]
    },
    "time": {
      "description": "ticks (254016000000 per second)",
      "type": "integer"
    },
    "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"
      ]
    },
    "value": {
      "type": "number"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/film-darwin-arm64@0.1.0 and the kit itself (film_commands through @kition/cli@0.1.1, built from KitionAI/kition-film@375db59).
