Files
Chromacase/scorometer/chroma_case/Key.py
T
2023-01-03 15:27:36 +09:00

11 lines
243 B
Python

class Key:
def __init__(self, key: int, start: int, duration: int):
self.key = key
self.start = start
self.duration = duration
def __str__(self):
return f"{self.key} ({self.start} - {self.duration})"