---
title: "sequence.applyAudioTransition: Apply Audio Transition — Film kit command — Kition"
description: "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."
canonical: "https://developer.kition.ai/docs/kits/film/commands/sequence.applyAudioTransition"
---

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

# 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); reference: [Film kit commands](https://developer.kition.ai/docs/kits/film.md)
- Changes the document: yes
- Acts on: `clip` (one id), which a run step’s `on` fills

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `align` | `"center" \| "start" \| "end"` | no |  |
| `clip` | `integer` | no |  |
| `edge` | `"in" \| "out"` | no |  |
| `effect` | `string` | no |  |
| `frames` | `integer` | no |  |
| `params` | `object` | no | read by the command beside its listed parameters |
| `reverse` | `boolean` | no | read 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/film-darwin-arm64@0.1.0 and the kit itself (film_commands through @kition/cli@0.1.1, built from KitionAI/kition-film@375db59).
