Saturday, October 25, 2025

[uvfnnuvc] Unicode musical notes

permitting up to two ledger lines above or below, there are 19 possible note positions on a 5-line musical staff.

consider adding these 19 symbols to Unicode.  although it is far from being able to express music purely in Unicode, it is a huge step in that direction.  once we can do pitches, inventing a new serial notation for specifying clefs, accidentals, rhythms, rests, dynamics, articulations, and phrasing seems not too difficult.

if the middle line (e.g., B on a treble clef, middle C on an alto clef) is labeled 0, then the range is -9 to +9.  a set of symbols denoting integers between -9 and +9 on a vertical scale seems generically useful beyond music.  balanced base 19?

should the notes have stems (like half note or shorter) or not (like whole note)?  having a stem pointing the conventional direction makes it slightly easier to recognize whether a note is above or below the middle line.  which way should the stem on a middle line note go?  let's add an additional character to permit either possibility.  (vaguely reminiscent of signed zero in IEEE 754 floating point.)

should notes be hollow (like whole and half note) or solid (like quarter note)?  hollow makes it slightly easier to recognize whether a note is on a line or on a space.

durations from whole notes to 32nd notes would increase a factor of 6: 20*6 = 120 characters, still less than a Unicode block of 256.  or duration could be done with modifiers, like combining diacritics or emoji skin tone modifiers.

if not Unicode, notes on a staff seem not too difficult to do with inline SVG images.

by having separate glyphs for each note, automatic formatting to any display width becomes easy: just wrap lines like regular text.  this is especially useful for reading sheet music on a narrow display.

are there any Unicode blocks that depict a range of at least 19 values?  Unicode clocks seem promising: 🕕 🕡 🕖 🕢 🕗 🕣 🕘 🕤 🕙 🕥 🕚 🕦 🕛 🕧 🕐 🕜 🕑 🕝 🕒 🕞 🕓 🕟 🕔 🕠 (future post lxscsnac).

No comments:

Post a Comment