Convert HUMDRUM to SVG
Turn HUMDRUM files into SVG files. The whole score as one SVG as wide as an A4 page and as tall as the music, with every staff, the title and composer from the reference records, lyrics, dynamics and other markings; a very long score is split over more than one SVG.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop HUMDRUM files on the dialor turn it to pick what to do
A score drawn as a vector image.Your Humdrum score becomes an SVG with every staff, the title and the composer.
What you get
The whole score comes out as one SVG as wide as an A4 page and as tall as the music. It holds every staff, plus the title and composer taken from the reference records.
Lyrics, dynamics and other markings are drawn too. Notes and symbols are drawn as shapes, and words stay text.
What is not used
System breaks and layout hints in the Humdrum file are not used. The layout is set by the conversion, not by the file.
A very long score is split over more than one SVG, so you may get several files from one score. The output can be one or more files, such as one per page or sheet.
Next steps
Once you have the SVG, you can compress SVG files or merge SVG files. The conversion has no options to set.
HUMDRUM and SVG.What each format is.
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
SVG
Scalable vector graphics in XML. Logos, icons and diagrams that stay sharp at any size.
- Extensions
- .svg .svgz
- MIME type
- image
/svg +xml - Kind
- Images
In your code.The same HUMDRUM to SVG conversion through the API, for your app or your agent.
$ cv convert report.krn report/ --to svg$ cv convert report.krn report/ --to svgQuestions.What people ask about HUMDRUM to SVG.
Yes. They are taken from the reference records in the file and drawn on the score.
Only for a very long score, which is split over more than one SVG. Other scores come out as one SVG.
Yes. Notes and symbols are drawn as shapes, and words stay text.
No. System breaks and layout hints in the file are not used.