Home / Blog / Production

Piano roll basics: writing music on a grid

Production · December 2, 2026 · 2 min read

The piano roll is where most music in a DAW gets written. It's a grid: pitch goes up and down, time goes left to right. If you can read it, you can write melodies, chords and bass lines without playing an instrument.

Reading the grid

  • The keyboard on the left shows pitch. Higher rows are higher notes. The note names (C4, D4…) are usually printed on the C keys.
  • Columns are time. Thicker lines mark bars; thinner lines mark beats and smaller divisions.
  • Blocks are notes. Where a block starts is when the note plays; how long it is decides how long it lasts.

The grid size

The grid or snap setting decides how notes line up: 1/4 snaps to beats, 1/8 to eighth notes, 1/16 to sixteenths. Use a coarse grid for chords and a fine one for hi-hats and fast melodies. Turning snap off lets you place notes freely for a more human feel.

Writing faster

Every DAW has its own shortcuts, but common tricks include:

  • Duplicate (often Ctrl/Cmd + D) to copy a selection to the next bar.
  • Select several notes and move or delete them together.
  • Drag a note's end to change its length.
  • Quantize to snap a loosely played part onto the grid.
  • Scale highlighting to see which rows belong to your key.

Chords on the piano roll

Stack notes vertically in the same column to make a chord. Learn the shapes — a major triad is a note, four rows up, three more rows up — and you can draw chords anywhere quickly.

Velocity

Most piano rolls have a velocity lane underneath that shows how hard each note is played. Varying velocity — slightly quieter off-beats, louder accents — makes a programmed part sound much more musical.

Drums on a piano roll

Drum parts often use a step sequencer or a piano roll where each row is a different drum sound rather than a pitch. The logic is the same: place a block where you want a hit.

Once the piano roll feels natural, you can sketch an idea in seconds — and since it's MIDI, you can change any note, sound or tempo later.

Try it in MelodyCourse

The lesson DAW basics lets you hear and practise this idea hands-on, with instant feedback — free, in your browser.

Open the lessons

Keep reading