---
title: "clip.generateAudioWaveform: Generate Audio Waveform — Film kit command — Kition"
description: "Asks the host to rebuild audio waveform peaks for the selected or listed `items`; changes no project data."
canonical: "https://developer.kition.ai/docs/kits/film/commands/clip.generateAudioWaveform"
---

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

# clip.generateAudioWaveform

**Generate Audio Waveform.** Asks the host to rebuild audio waveform peaks for the selected or listed `items`; changes no project data.

- Kit: Film 0.1.0 (.kfilm); reference: [Film kit commands](https://developer.kition.ai/docs/kits/film.md)
- Changes the document: no
- Acts on: `items` (a list of ids), which a run step’s `on` fills

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `items` | `integer[]` | no |  |

## Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `items`. film_run answers the step’s result in `completed[i].result`.

## Result



```json
{
  "description": "The command's answer"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "items": {
      "items": {
        "description": "an id",
        "type": "integer"
      },
      "type": "array",
      "x-khp-types": [
        "Item"
      ]
    }
  },
  "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).
