musicaiz.rhythm.TimeSignature

class musicaiz.rhythm.TimeSignature(time_sig: Union[Tuple[int, int], str])[source]
__init__(time_sig: Union[Tuple[int, int], str])[source]

TimeSignature class for representing time signatures.

Parameters
time_sig: str

The time signature in the format num/den

Methods

__init__(time_sig)

TimeSignature class for representing time signatures.

Attributes

beat_type

beats_per_bar

eights

quarters

sixteenths