wiki index

Notate

Written March 11, 2021, last changed March 13, 2021

Notate will be a tool for generating low-color bmps of staff music notation.

Pixelated music notes over staff lines. The eighth notes, starting from middle C, spell out do re me fa sol, down an octave sol, up to re ti do.

Current Status

I’m using Nasu to draw the sprites and store them as the NES .chr data format. Those sprites are blitted onto a color-indexed image, then the image is rendered into a BMP.

Nasu, a pixel editor zlib, a compression library

Why BMPs?

In the interest of keeping the tool as simple as possible and removing any dependencies on complex compression libraries, I wanted an uncompressed output format. You can use ImageMagick to compress the result:


notate "drmfsltd" | magick bmp:- my_image.png

ImageMagick – Convert, Edit, or Compose Digital Images

Reference Material

Simplified Windows BMP Bitmap File Format Specification