turn enum ToneType into enum class