# Regenerate, extend or repaint a clip

![The menu for a dialogue clip with Regenerate, Split at playhead, Split into stems, Duplicate, Extend this track, Cover in a new style, Repaint this clip, Mute and Delete](https://github.com/HamSanders/soundbox/blob/main/site/public/docs/studio/clip-menu.webp)

## Before you begin

- To extend, cover or repaint, install a model that can, such as ACE-Step, from the **Models** page. Without one,
  those commands are not in the clip's menu.

## Read a line again

1. Optional: in the **Script** panel, change the line's words, voice or delivery.
2. On the timeline, right-click the line's clip.
3. Select **Regenerate**. For a line that has not been read yet, the command is **Read this line**. The new read
   takes the clip's place, and earlier reads stay in your library.

## Make music longer

1. Right-click the clip.
2. Select **Extend this track**. The **Prompt** panel fills in with the sound and its description, set 30 seconds
   longer than the sound.
3. If the **Prompt** panel is closed, select **Prompt** in the **Panels** menu.
4. Optional: change the length or the description.
5. Click **Generate & insert**. The longer version lands on the timeline, with the original intact at its start.

## Render music in a new style

1. Right-click the clip.
2. Select **Cover in a new style**. The **Prompt** panel fills in with the sound, at its own length.
3. Describe the new style in the **Prompt** panel.
4. Click **Generate & insert**. The new version lands on the timeline.

## Repaint part of a clip

1. Hold <kbd>Shift</kbd> and drag along the ruler over the stretch you want redone. To repaint the whole clip, skip
   this step.
2. Right-click the clip. The repaint command names the stretch, such as **Repaint 1.8s–5.3s**, or reads **Repaint
   this clip**.
3. Select the repaint command.
4. In the **Repaint** dialog, in **What should be there**, describe the new part. Leave it empty to reroll with the
   clip's own description.
5. Set **Strength**. Low keeps the original performance and varies it; high replaces it.
6. In the **Mode** list, select **Conservative** to follow the music around the stretch, **Aggressive** to follow
   your description, or **Balanced** for a mix of both.
7. Click **Repaint**. The new audio replaces the stretch inside the clip, and the audio outside the stretch is
   unchanged.

![The Repaint dialog with the What should be there box, the Strength slider at 0.70 and the Mode list set to Balanced](https://github.com/HamSanders/soundbox/blob/main/site/public/docs/studio/repaint.webp)

To go back, undo. Both takes stay in your library.

## What's next

- [Split a song into stems](https://mirli.app/docs/studio-stems/index.md) to pull one part out of a clip.
- [Arrange clips on the timeline](https://mirli.app/docs/studio-timeline/index.md) to place the new take.
- [Generating](https://mirli.app/docs/generating/index.md) for how to describe music each model understands.
