
MIDI art that sounds good: key, octave range and note length
You have a picture, a piano roll and a pile of notes that look right on screen. Press play and it sounds like a cat crossing a keyboard. The shape is fine. The notes under it sit on every semitone, stretch across the whole keyboard and last a few milliseconds each.
By Nell Averdon ·
Beatyo is a phone appPoint your camera at the code to get it. No sign-up.
Short answer
MIDI art is a picture made of notes in a piano roll. Most of it sounds bad because every row is a semitone, the picture spans the whole keyboard and the notes are tiny. Snap the rows to one scale such as pentatonic, keep the picture inside two or three octaves around MIDI note 60, and use 1/16 notes or longer.
MIDI art is a drawing made of notes
AudioCipher defines MIDI art as visual art created in a DAW's piano roll and shown to the listener while it plays. Each note is a rectangle. Height is pitch, left to right is time, and a cluster of rectangles forms a heart, a face or a logo.
It has a short history of sounding awful. A MIDI.org submission by the artist Gil Assayas says drawings before 2017 "looked good, but sounded terrible", until Savant made pieces that sounded like real music. Assayas now performs his pictures live on a controller in Cubase. His rules: the music must fit the image, and two hands must be able to play it.
This is a different thing from spectrogram art. There the picture hides in the frequencies of a recorded sound. Here the picture is the notes themselves.
Four habits make it sound bad
Every bad-sounding piece breaks at least one of these. Each has a cheap fix.
| What the picture does | What you hear | Fix |
|---|---|---|
| Notes on every row, so neighbors are a semitone apart | Notes clash | Snap rows to one scale |
| Picture covers the full range, MIDI notes 0 to 127 | Rumble at the bottom, squeaks at the top | Keep 2 to 3 octaves |
| Filled areas and tall vertical edges | Dozens of notes at once, a cluster | Use outlines, 3 or 4 notes at a time |
| One pixel equals a very short note | Clicks and buzz | Notes of 1/16 or longer |
Key: put the rows on a scale
A piano roll has a row for every semitone. Two notes a semitone apart played together sound harsh, and a pixel picture produces that pair constantly. Restrict the rows to one scale and the harshest clashes disappear.
Pentatonic is the easiest choice. C major pentatonic is C, D, E, G, A: five notes per octave and no semitone steps. Use A minor pentatonic (A, C, D, E, G) for a darker mood. These are the same notes, so the mood comes from which one you land on.
The cost is height. In a chromatic grid, 12 rows make one octave. In pentatonic, 5 rows do. A picture 10 rows tall then covers two octaves, and 15 rows cover three. Plan the picture's height around the scale before you draw or convert, because snapping afterward pushes two neighboring rows onto the same note and flattens the shape. If you want the theory side covered, making music without theory explains why safe notes work.
Octave range and note length decide how it feels
MIDI numbers notes 0 to 127, and middle C is 60. A piano covers 21 to 108. Software disagrees on the name of note 60: it appears as C3, C4 or C5 depending on the program, so work from the number. A range of 48 to 84 gives three octaves centered on middle C. Use 60 to 84 for a lighter, melodic picture. Notes below about 36 turn to mud on a phone speaker, and notes above 96 thin out.
Length comes from the grid. At 120 BPM, a 1/16 note lasts 0.125 seconds and a 1/64 note about 31 milliseconds, which is a click. Set one pixel to 1/16 or 1/8. At 120 BPM, a picture 32 columns wide at 1/16 lasts two bars, or 4 seconds. A slower tempo stretches it, and the tempo chart by genre shows where each style sits.
Three shapes behave differently:
- Horizontal lines: merge them into one long note for pads and strings. Leave them as repeated notes for plucks and pianos, which fade out.
- Diagonals: they play as runs up or down the scale and are the best-sounding part of most pictures.
- Vertical lines: they play as one big chord. Shift each note one grid step later than the row below and the line becomes an arpeggio, though it leans into a slant.
From picture to finished piano roll
- Pick a simple picture. Silhouettes, icons and logos work. The img2midi project says detailed images get "greatly compressed" by the 127-note limit, and that it works best with illustrations.
- Shrink it. Aim for about 32 columns and 10 to 16 rows. Fewer rows means fewer notes to fix.
- Reduce it to black and white. Dark areas become notes. Run edge detection if you want only the outline.
- Choose the scale and lowest note. Say C major pentatonic, lowest note 48.
- Convert or draw. In img2midi.online, set Time resolution near 32 and Pitch resolution to match your row count. Its page lists a Lowest MIDI note from C2 to C8, but no scale control, so you snap afterward.
- Snap and clean. Use your DAW's scale or quantize function (the menu name varies by program), then delete notes until no more than 3 or 4 sound at once.
- Set note lengths and an instrument. Merge or split by the rules above. A soft piano, marimba or pad forgives dense notes better than a sharp lead.
- Add drums. A kick and snare at the picture's tempo make clumsy notes sound like intent. The drum machine exports a MIDI pattern you can drop in, and drum patterns for 17 genres lists grooves to start from.
Step 8 is where most pieces turn from a gimmick into a track. Notes that clash a little against a steady beat read as a decision.
Which route fits you
| Route | Cost and platform | Good for | Limit |
|---|---|---|---|
| Draw by hand in a DAW | Depends on your DAW | Total control over each note | Slow, and you must know the piano roll |
| PianoRollArt | Free, macOS and Windows 10 and 11 | Five looks: Grayscale, Threshold, Dither, Edge Detect, Halftones | Dark pixels become notes, so you fix key and range in your DAW |
| img2midi.online | Free, in a browser, no account | Fast .mid file with a preview synth | No scale control on its page |
| Beatyo | Free with ads, Pro $19.99 a year, Android 7+ | Drawing or photo straight to sound with a key and a beat | Not on iPhone yet, and no audio recording or editing of existing songs |
Beatyo also fits if the goal is a video for TikTok, Reels or Shorts: the export includes a time-lapse of the drawing. The free version gives 2 frames per drawing, and Pro gives 16. For the wider picture of phone options, see apps that let you draw music, and for the same idea without the piano roll, turn a picture into music. A beat-first approach is in how to make a beat on your phone.
Related guides
Sources
Frequently asked questions
What file does MIDI art export?
A .mid file, which stores notes, lengths and velocities but no sound. The instrument you load in your DAW or player decides how it sounds. The same picture can be a bell, a piano or a synth pad just by swapping the instrument.
Why do curves look jagged in MIDI art?
Notes are rectangles on a grid of rows and columns, so a curve becomes a staircase. More rows and columns smooth it, but also add more notes to fix. For music, a slightly blocky curve usually plays better than a smooth one.
Should I pick major or minor pentatonic?
Match the picture. Major pentatonic sounds bright and open, so it suits suns, flowers and faces that smile. Minor pentatonic sounds darker and suits night scenes, cats and silhouettes. Both use the same five rows per octave, so you can switch and compare in seconds.
Do I need to play piano to make MIDI art?
No. Live performance on a controller is one style, but most MIDI art is drawn or converted with a mouse. You never need to play the notes yourself, only to check by ear that the result doesn't clash.