Convert MIDI to WEBP

Turn MIDI recordings into WEBP 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

MIDI becomes sheet music as WebP images.Each page of the score is saved as one WebP picture.

  1. What you get

    The notes are written out 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 WebP, so a long piece gives you one or more files. The pages are drawn at 150 dpi and quality 90 unless you ask otherwise.

  2. What is guessed or left out

    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 file's first one, or one guessed from the notes when the file has none.

    Drums on channel 10 are left out. So are lyrics and other text, dynamics, pedals, pitch bends, and later changes of tempo, time signature or key.

  3. Options

    Set Resolution (dpi) between 36 and 600. Higher is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print.

    Turn on Lossless to keep text edges exact. Otherwise Quality sets how much detail lossy compression keeps, from 1 to 100. Above 90 the file grows quickly while the picture barely changes.

    Set Width (px) to give the exact width of each page in pixels, up to 16383, which is the most WebP holds on a side. The height follows the aspect ratio unless you set it too, and then the picture can be stretched. To change an image afterward, use resize WEBP.

MIDI and WEBP.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 · lossless

    Lossless

    Encodes without losing anything where the format can. The result is identical to the input in pixels or samples, and much bigger than a lossy one.

  3. 03 · 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
  4. 04 · 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 16383

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 · WEBP

WebP

Google's web image format with lossy and lossless modes, alpha and animation. Smaller than JPEG and PNG.

Extensions
.webp
MIME type
image/webp
Kind
Images

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

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

Questions.What people ask about MIDI to WEBP.

01OF 04

No. It writes the notes out as sheet music and saves each page as a picture. No audio is produced.

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

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.

You get one WebP for each page of the score, so a longer piece gives several files.

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