turn enum NoteDuration into enum class