MicroSong

MicroSong is a True Type font that can be used for describing melodies in a very, very compressed manner. It was designed by Sven Trebard for use in an appendix to a songbook he was editing. It is free to copy and use.

Download and install the font microsong.ttf. The size is about 15KB, i.e. not very large.

You can add MicroSong to your website by adding <link rel="stylesheet" href="https://wiz.se/doc/microsong/microsong.css">.
Then add MicroSong to your CSS, e.g. .song { font-family: MicroSong; font-size: 32pt }

Writing the notes is fairly straightforward.
The letter h is the prime note as well as the middle note (C in C major or C minor, depending on the scale).
Going left on the keyboard means going up in the scale. After a comes p. Going right on the keyboard means going down in the scale. After l comes z. Uppercase letters are long notes, lowercase are short.

short
notes
i o p a s d f g h j k l z x c v b
  i o p a s d f g h j k l z x c v b
long
notes
I O P A S D F G H J K L Z X C V B
  I O P A S D F G H J K L Z X C V B
  9th
up
octave
up
7th
up
6th
up
5th
up
4th
up
3rd
up
2nd
up
base 2nd
down
3rd
down
4th
down
5th
down
6th
down
7th
down
octave
down
9th
down
q w e 2 3 4 6
q w e 2 3 4 6
Major
scale
Minor
scale
bar 2, 3, 4 or 6
beats per bar

A sample page, using MicroSong size 32, can look like this on the screen (the print version looks better):

You can use this short introduction when used in a publication

English
The MicroSong font (https://wiz.se/doc/microsong/index.html) is used for short melody descriptions.

    prime note octaves    
q w vho VHO e 2 3 4 6
Major
scale
Minor
scale

short
notes

long
notes
bar beats per bar

Swedish
Typsnittet MicroSong (https://wiz.se/doc/microsong/index.html) kan användas för att beskriva melodier.

    grundtons oktaver    
q w vho VHO e 2 3 4 6
Dur Moll

korta toner

långa toner taktstreck slag per takt