Horizontal Containers¶
Chain¶
A Chain
is used to represent a sequence of notes or chords. It can contain other
Chains. Within a Chain
there are no simultaneous events: events cannot overlap.
Events in a Chain
have an offset, relative to the start of the Chain
.
This offset can be explicitely set (meaning someNote.offset
is not None
) or
inferred to start exactly at the end of the previous item in the Chain
.
When an item is appended to a Chain
, the item becomes a child of the chain and
the chain becomes its parent (see MEvent.parent
)
Voice¶
A Voice
is a subclass of Chain
and all said before applies to it, with
the following differences: