Expand description
Rhythmic duration primitives.
Structs§
- Duration
- Rhythmic duration measured in quarter lengths.
- Tuplet
- A length written as a tuplet:
actualnotes of one written value in the time ofnormalof them.
Enums§
- Duration
Type - A note-value name, as music21’s
duration.typeToDurationdefines them.
Functions§
- quarter_
conversion - The written note values a length is made of and the tuplet, if any, they
are written inside: music21’s
quarterConversion. - quarter_
length_ to_ closest_ type - Returns the note-value type closest to a quarter length, and whether it is
exact, as music21’s
quarterLengthToClosestTypedoes: a length between two types reports the longer one, so a triplet quarter is an inexact eighth. - quarter_
length_ to_ non_ power_ of_ 2_ tuplet - The one enormous tuplet music21 falls back on for a length no tie of
written values reaches: its
quarterLengthToNonPowerOf2Tuplet. - quarter_
length_ to_ tuplet - The tuplets a length can be written as, shortest note value first:
music21’s
quarterLengthToTuplet, stopping aftermax_to_returnof them.