Convert MIDI to JPG

Turn MIDI recordings into JPEG files. The notes are written out as sheet music by midi2abc and abcm2ps on US Letter pages, titled with the file name, with a staff for each track or channel that holds notes, each named after its General MIDI instrument when there are several.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop MIDI files on the dialor turn it to pick what to do

Sheet music pages as JPG images.Your MIDI notes are written out as sheet music, one JPEG per page.

  1. What you get

    The notes are set as sheet music on US Letter pages, titled with the file name. Each track or channel that holds notes gets its own staff. When there are several, each staff is named after its General MIDI instrument.

    Each page becomes one JPEG, at 150 dpi and quality 90 unless you ask otherwise. A long piece can give you several files.

  2. How the notation is made

    Note lengths and bar lines are guessed from the timing at the first tempo and time signature. Freely played parts come out with odd rhythms and many ties, and very short notes are kept.

    The key is the first one in the file. If the file has none, it is guessed from the notes.

  3. What is left out

    Drums on channel 10 are left out. So are lyrics and other text, dynamics, pedals and pitch bends.

    Later changes of tempo, time signature or key are also left out. The whole piece is written with the first ones.

  4. Options

    Set Resolution (dpi) to a value from 36 to 600. Higher is sharper and makes a bigger file. 300 is the usual choice for print.

    Set Quality from 1 to 100 to control how much detail compression keeps. Above 90 the file grows quickly while the picture barely changes.

    Set Width (px) to give the result an exact width in pixels. The height follows the aspect ratio unless you also give it, and then the picture can be stretched.

MIDI and JPG.What each format is, and the options this conversion takes.

  1. 01 · dpi

    Resolution (dpi)

    How many pixels each inch of the page becomes when it is drawn as a picture. Higher is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print.

    36 to 600 default 150
  2. 02 · quality

    Quality

    How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    1 to 100 default 90
  3. 03 · width

    Width (px)

    The exact width of the result in pixels. The height follows the aspect ratio unless it is also given, in which case the picture can be stretched.

    1 to 20000

The formats

From · MIDI

MIDI

Musical notes and instruments rather than sound. Rendered to audio with a General MIDI sound set.

Extensions
.mid .midi .kar
MIME type
audio/midi
Kind
Audio
To · JPG

JPEG

Lossy photo compression that every device and browser opens. Small files, no transparency.

Extensions
.jpg .jpeg .jfif .jpe
MIME type
image/jpeg
Kind
Images

In your code.The same MIDI to JPG conversion through the API, for your app or your agent.

terminal
$ cv convert recording.mid recording/ --to jpeg
$ cv convert recording.mid recording/ --to jpeg

Questions.What people ask about MIDI to JPG.

01OF 04

No. The JPG is a picture of the notes as sheet music. It holds no sound.

No. Drums on channel 10 are left out of the sheet music.

Note lengths and bar lines are guessed from the timing. Freely played parts come out with odd rhythms and many ties.

Each page becomes one JPEG. A piece that fills more than one page gives you more than one file.

More conversions.Other ways in and out of MIDI and JPG.