turn enum NoteHeadType into enum class