convert enum TempoType into enum class