Convert HUMDRUM to WEBP
Turn HUMDRUM files into WEBP files. The score is engraved anew on A4 pages with every staff, the title and composer from the reference records, lyrics, dynamics and other markings.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop HUMDRUM files on the dialor turn it to pick what to do
Sheet music from a Humdrum file, as images.Each page of the engraved score becomes one WebP at 150 dpi.
What you get
The score is engraved anew on A4 pages. Every staff is drawn, along with the title and composer from the reference records, the lyrics, the dynamics and other markings.
Each page becomes one WebP, so a score with several pages gives you several files. Quality is 90 unless you change it.
What changes
System breaks and layout hints in the Humdrum file are not used. The pages are laid out fresh, so the line breaks may not match the ones the file suggests.
Set Lossless to keep text edges exact. A lossless file is much bigger than a lossy one.
Size and sharpness
Set Resolution (dpi) from 36 to 600. Higher is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print.
Set Width (px) to give the exact width of the result. WebP holds at most 16383 pixels a side, so width stops there. If you also give a height, the picture can be stretched. To shrink a file afterwards, try compress WEBP.
HUMDRUM and WEBP.What each format is, and the options this conversion takes.
- 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 - 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.
- 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 - 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
Humdrum
Sheet music written as columns of text, most often kern, used for music research and large score collections.
- Extensions
- .krn
- MIME type
- text
/x -humdrum - Kind
- Text and data
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 HUMDRUM to WEBP conversion through the API, for your app or your agent.
$ cv convert report.krn report/ --to webp$ cv convert report.krn report/ --to webpQuestions.What people ask about HUMDRUM to WEBP.
No. System breaks and layout hints in the file are not used. The score is engraved anew on A4 pages.
One WebP per page. A score that runs over several pages gives several files.
Set Lossless to keep text edges exact. You can also raise Resolution (dpi), for example to 300 for print.
16383 pixels. WebP holds at most that many pixels a side.