# Captions and transcript

Source: https://docs.lightair.app/desktop/record-and-edit/captions-and-transcript

> Turn speech into editable words, cut a clip by its transcript, remove filler words and long pauses, and make styled captions in the Editor.

In short:
- Speech is recognised on your computer with a speech model you download once (142 MB). Nothing is sent anywhere.
- In the **Words** panel, **Transcribe** a clip, click words to mark them, then **Cut … marked**.
- **Remove fillers and pauses** takes out filler words and shortens long silences in one go.
- The **Captions** panel's **Make captions** turns the project's speech into text clips on a captions track.

In the app: Editor › Words; Editor › Captions

The Editor can listen to speech and give you the words: to read, to cut by, and to show as
captions.

## Get the speech model

The first time, the **Words** and **Captions** panels offer **Get speech model**. It downloads
142 MB once. After that, speech is recognised on this computer and never sent anywhere.

## Edit by transcript

1. Pick a clip with sound on the timeline.
2. Open the **Words** panel. In the **Edit** layout it's a tab beside **Timeline**.
3. Click **Transcribe**. It says **Listening…** while it works.

The clip's words appear as text. The word under the playhead is highlighted, and filler words are
in italics.

### Cut words out

1. Click words to mark them for cutting. Each click also moves the playhead to that word. Click a
   marked word again to unmark it.
2. Click **Cut … marked** (for example **Cut 3 marked**).

What's cut closes up: the clips after it on its track move up, and the clip's linked sound is cut
at the same moments.

### Remove fillers and pauses

**Remove fillers and pauses** takes out every filler word and shortens every pause longer than
0.9 seconds, keeping 0.3 seconds of it. The button says how much time it would remove, for
example **Remove fillers and pauses (4.2 s)**.

Both are ordinary edits: undo them with `⌘Z` or `Ctrl+Z` on Windows, or step back in the **History** panel.

## Make captions

1. Open the **Captions** panel. On a Mac, check it in the **Window** menu if it isn't showing.
2. Click **Make captions**. Lightair listens to the project's whole sound.

The words become short text clips on a **Captions** track, timed to the speech. Click **Make
captions again** after changing the edit.

### Style captions

- Under **Style**, choose **Boxed** (white on a dark box), **Outlined** (white with a black edge)
  or **Yellow**.
- Select one caption to change its words. Its look (size, line width, colour, weight, alignment,
  the box behind and the outline) changes every caption at once.

### Captions in the export

When the canvas has captions, the export panel's **Subtitles** sets what happens to them:

| Choice | What you get |
|---|---|
| **None** | No subtitles: only what's drawn in the picture. |
| **In the file** | A subtitle track inside the video. Offered for MP4, MOV, MKV and WebM. |
| **Beside it (.srt)** | An SRT file next to the video. |
| **Beside it (.vtt)** | A WebVTT file next to the video. |
| **In the file and beside it (.srt)** | Both. |

A visible captions track is also drawn into the picture. To send captions out only as subtitles,
hide the captions track; hidden captions still go into the subtitles.

See [Export a video](/desktop/record-and-edit/export).

## From the command line

```sh
lightair call editor.captions.make
```

See [editor.captions.make](/developers/remote-api/editor.captions.make). To cut by transcript
from a script, see [editor.words.tighten](/developers/remote-api/editor.words.tighten).

## Related

- [Edit on the timeline](/desktop/record-and-edit/editor-timeline)
- [Export a video](/desktop/record-and-edit/export)
