TimeUnit

TimeUnit()

Units of measurement for coordinates.

Organized by domain. Each unit belongs to a specific domain. Aliases are provided for common abbreviations.

Attributes

Name Description
b beats
beats beats
centimeters centimeters
cm centimeters
divs ticks (MIDI’s time unit)
domain Return the domain this unit belongs to.
floating_measures measures
fm measures
frames frames
inches inches
is_discrete Whether this unit is inherently discrete (integer-valued).
meters meters
millimeters millimeters
milliseconds milliseconds
minutes minutes
mm millimeters
ms milliseconds
pixels pixels
points points
pt points
pulses ticks (MIDI’s time unit)
px pixels
q quarter notes
quarters quarter notes
s seconds
samples samples
seconds seconds
ticks ticks (MIDI’s time unit)