Expand description
How a bar divides: music21’s MeterTerminal and MeterSequence.
A terminal is a span of a bar written as a ratio, with a weight. A
sequence is a terminal that is made of other terminals, so a bar of 4/4
partitioned in two is {1/2+1/2}, and either half may be partitioned
again. music21 hangs four of these off every time signature — the beats,
the beams, the accents and what is displayed — and this is the part of it
that is arithmetic rather than notation.
What a sequence may be partitioned into is not free: music21 keeps a list
of the ways each meter is conventionally divided, in priority order, and
partitioning by a count takes the first of those with that many parts.
That is why 5/8 in two is {2/8+3/8} and not {2.5/8+2.5/8}.
Structs§
- Meter
Terminal - One span of a bar: a ratio, and how strongly it is felt.
Enums§
- Offset
Align - How an offset is matched against the boundaries of a level: music21’s
alignargument tooffsetToDepth.