Sol key, staff and notes
Unsolved
General and Desktop
-
This is way more than you need, but you could take inspiration from MuseScore:
https://github.com/musescore/MuseScore