Home / Blog Menu ↓

Blog: #real-esrgan

Hymn prints

A new experimental nerdy thing, for people who like hymns, sheet music, and textures:

The first few measures of “Abide with Me!”
The first few measures of “The Spirit of God”

How I make these hymn prints (as I’m calling them):

  • Typeset the first phrase (or so) in MuseScore using the Bravura font, with the spacing trimmed to within an inch of its life
  • Play it out loud to make sure I entered it right (cough) and export an SVG
  • Drag the SVG into a frame in Figma and use the SkewDat plugin to skew it -4°, center it, then export a 4,000px-wide PNG
  • Use ImageMagick to do some erosion and dilation (to simulate age and ink spread): convert input.png -morphology erode disk:18 -morphology dilate disk:16 output.png
  • Texture the image in Affinity Photo and export the PNG
  • Upscale with Real-ESRGAN to 12,000px-wide
  • Downscale a little in Affinity Photo, add 8% monochrome noise, and export the final PNG

I’m still figuring out how I want to do these (full bleed or not, barlines, clefs and key signatures or not, etc.). Also thinking about possibly doing some abstract versions as well, to avoid all these music typesetting issues entirely.


Reply via email or office hours