<midi>

Container for elements that contain information useful when generating MIDI output.
Module MEI.midi
Attributes
@copyof(optional)Points to an element of which the current element is a copy. Value conforms to data.URI. att.common.anl
@corresp(optional)Used to point to other elements that correspond to this one in a generic fashion. One or more values from data.URI, separated by spaces. att.common.anl
@label(optional)Provides a name or label for an element. The value may be any string. Value of datatype string. att.commonPart
@layer(optional)Identifies the layer to which a feature applies. One or more values of datatype positiveInteger, separated by spaces. att.layerident
@n(optional)Provides a number-like designation for an element. Value conforms to token. att.common
@next(optional)Used to point to the next event(s) in a user-defined collection. One or more values from data.URI, separated by spaces. att.common.anl
@prev(optional)Points to the previous event(s) in a user-defined collection. One or more values from data.URI, separated by spaces. att.common.anl
@sameas(optional)Points to an element that is the same as the current element but is not a literal copy of the current element. One or more values from data.URI, separated by spaces. att.common.anl
@staff(optional)Signifies the staff on which a notated event occurs or to which a control event applies. Mandatory when applicable. One or more values of datatype positiveInteger, separated by spaces. att.staffident
@synch(optional)Points to elements that are synchronous with the current element. One or more values from data.URI, separated by spaces. att.common.anl
@when(optional)Indicates the point of occurrence of this feature along a time line. Its value must be the ID of a when element elsewhere in the document. Value conforms to data.URI. att.alignment
@xml:base(optional)Provides a base URI reference with which applications can resolve relative URI references into absolute URI references. Value conforms to data.URI. att.commonPart
@xml:id(optional)Regularizes the naming of an element and thus facilitates building links between it and other resources. Each id attribute within a document must have a unique value. Value of datatype ID. att.id
Member of
Contained by
MEI.cmnmeasure
MEI.critapplem rdg
MEI.mensuralligature
MEI.neumessyllable
MEI.sharedlayer
May contain
Declaration
<classes>
<memberOf key="att.common"/>
<memberOf key="att.midi.log"/>
<memberOf key="att.midi.vis"/>
<memberOf key="att.midi.ges"/>
<memberOf key="att.midi.anl"/>
<memberOf key="model.midiLike"/>
</classes>
<content>
<rng:zeroOrMore>
<rng:choice>
<rng:ref name="cc" />
<rng:ref name="chan" />
<rng:ref name="chanPr" />
<rng:ref name="cue" />
<rng:ref name="hex" />
<rng:ref name="mei_marker" />
<rng:ref name="metaText" />
<rng:ref name="noteOff" />
<rng:ref name="noteOn" />
<rng:ref name="port" />
<rng:ref name="prog" />
<rng:ref name="seqNum" />
<rng:ref name="trkName" />
<rng:ref name="vel" />
</rng:choice>
</rng:zeroOrMore>
</content>
Remarks

The label attribute can be used to differentiate between multiple MIDI data streams, e.g. quantized/unquantized, straight/swing, ornamented/as notated, etc.