# Edit notes in the piano roll

![The piano roll with a short melody and two held chords, a keyboard along the pitch axis, bars along the time axis, and the instrument controls](https://github.com/HamSanders/soundbox/blob/main/site/public/docs/studio/piano-roll.webp)

## Set up the grid

1. In the **Panels** menu, select **Piano roll**.
2. In **BPM**, enter the tempo of the take. The bars on the grid follow it.
3. In the **Snap** list, select **Off**, **1/4**, **1/8**, **1/16** or **1/32**.

## Draw a note

1. Drag across an empty part of the grid at the pitch you want. The note is as long as your drag.

## Move or resize a note

1. To move a note in time or pitch, drag it.
2. To change its length, drag the end of the note.
3. To place it without snapping, hold <kbd>Alt</kbd> (<kbd>Option</kbd> on macOS) while you drag.

## Delete a note

1. Right-click the note. It is removed.

## Change a take you already placed

1. On the timeline, right-click the take: the dry clip or the instrument version.
2. Select **Edit notes**. The piano roll opens with the take's notes, instrument, tempo, prompt and strength.
3. Edit the notes.
4. Click one of these:
   - **Re-render dry**: replaces the dry clip's audio in place, keeping its lane, start, fades and volume. Its
     instrument version still plays the old notes.
   - **Re-render instrument**: replaces the dry clip's audio, and then the instrument version's audio when the
     model is done.
   - **Place as new instead**: stops editing this take; the next render places a new take at the playhead.

If the MIDI panel held notes you had not placed, **Edit notes** sets them aside and its message offers **Bring it
back**.

## What's next

- [Turn notes into an instrument](https://mirli.app/docs/studio-instruments/index.md) to render the take as a real-sounding instrument.
- [Keyboard shortcuts](https://mirli.app/docs/studio-shortcuts/index.md) for every key the piano roll uses.
