Store them as MIDI note numbers. Add tags for instruments that can (in normal circumstances) be used to create that note. Write static filters to list all the notes playable by piano, violin, guitar, etc…
You might find this useful:
(If you find a better resolution copy of that image, DO let me know!)
I would be more inclined for notes to live in tune tiddlers with a range of notes in instrument tiddlers.
One may even just have 13 notes in multiple octaves
Why not allow tiddlers to be phrases, easily strung together with transclusions? I could imagine all sorts of fun with alternate paths through a set of phrases.
I set it up and learned my way around a bit – just enough to get “Happy Birthday” set up with a bass guitar (figuring out how to specify the bass clef took a bit of a dive into ABC documentation).
FYI, in my mind was the fundamental architecture of TiddlyWiki.
I was trying to find some cases where it gets OBVIOUS that TIDDLERS RULE.
Music looks like one of them?
What came up (correctly) was a basic musical issue: do you musically work in “notes” or “phrases”? Good one! Phrase or note could work in TW. Choose your “unit”.
To UNITISE (“Tiddlerise”) at the correct level (for the specific use case) matters to practicality.
Point IS in TiddlyWiki we can EASILY make “THAT TIDDLER UNIT INTO MINE.”
WHAT a Tiddler consists of is a VAST open expansion-ability.
My points: TW is…
… UNIQUE, in being built from the ground up like it is.
… difficult to understand how RADICAL it IS.
… WE should get better at promoting what it uniquely can do with ease.