Customising note heads

There are two things you need to do to create arbitrary noteheads:

1. change the NoteHead stencil to the text-interface.

2. define the text attribute of the NoteHead. It accepts any markup. The easiest thing to do is to simply call a musicglyph, as in this example.