You can add additional elements to notes using map-some-music
. In this
example, an extra script is attached to a note.
In general, first do a \displayMusic
of the music you want to
create, then write a function that will work on the appropriate parts
of the music for you.