<midi>

Container for elements that contain information useful when generating MIDI output.
Module
MEI.midi
Attributes
class, copyof, corresp, follows, label, layer, n, next, part, partstaff, precedes, prev, resp, sameas, staff, synch, type, xml:base, xml:id
class(optional)Contains one or more URIs which denote classification terms that apply to the entity bearing this attribute. One or more values from data.URI, separated by spaces.
copyof(optional)Points to an element of which the current element is a copy. Value conforms to data.URI.
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.
follows(optional)points to one or more events in a user-defined collection that are known to be predecessors of the current element. One or more values from data.URI, separated by spaces.
label(optional)Captures text to be used to generate a label for the element to which it's attached, a "tool tip" or prefatory text, for example. Should not be used to record document content. Value of datatype string.
layer(optional)Identifies the layer to which a feature applies. One or more values of datatype positiveInteger, separated by spaces.
n(optional)Provides a number-like designation that indicates an element's position in a sequence of similar elements. May not contain space characters. Value conforms to data.WORD.
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.
part(optional)Indicates the part in which the current feature should appear. Use '%all' when the feature should occur in every part. One or more values of datatype a string matching the following regular expression: "(%all|#[\i][\c]+)" , separated by spaces.
partstaff(optional)Signifies the part staff on which a notated feature occurs. Use '%all' when the feature should occur on every staff. One or more values of datatype a string matching the following regular expression: "(%all|\d+(-\d+)?)" , separated by spaces.
precedes(optional)Points to one or more events in a user-defined collection that are known to be successors of the current element. One or more values from data.URI, separated by spaces.
prev(optional)Points to the previous event(s) in a user-defined collection. One or more values from data.URI, separated by spaces.
resp(optional)Indicates the agent(s) responsible for some aspect of the text's transcription, editing, or encoding. Its value must point to one or more identifiers declared in the document header. One or more values from data.URI, separated by spaces.
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.
staff(recommended)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.
synch(optional)Points to elements that are synchronous with the current element. One or more values from data.URI, separated by spaces.
type(optional)Designation which characterizes the element in some sense, using any convenient classification scheme or typology that employs single-token labels. One or more values of datatype NMTOKEN, separated by spaces.
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.
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.
(MEI.shared) Attributes common to many elements.
(MEI.shared) Attributes that form the basis of the att.common class.
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.
(MEI.shared) Attributes that uniquely identify an element.
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.
(MEI.shared)
label(optional)Captures text to be used to generate a label for the element to which it's attached, a "tool tip" or prefatory text, for example. Should not be used to record document content. Value of datatype string.
(MEI.shared) Attributes that specify element-to-element relationships.
copyof(optional)Points to an element of which the current element is a copy. Value conforms to data.URI.
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.
follows(optional)points to one or more events in a user-defined collection that are known to be predecessors of the current element. One or more values from data.URI, separated by spaces.
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.
precedes(optional)Points to one or more events in a user-defined collection that are known to be successors of the current element. One or more values from data.URI, separated by spaces.
prev(optional)Points to the previous event(s) in a user-defined collection. One or more values from data.URI, separated by spaces.
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.
synch(optional)Points to elements that are synchronous with the current element. One or more values from data.URI, separated by spaces.
(MEI.shared) Attributes used to supply a number-like designation for an element.
n(optional)Provides a number-like designation that indicates an element's position in a sequence of similar elements. May not contain space characters. Value conforms to data.WORD.
(MEI.shared) Attributes capturing information regarding responsibility for some aspect of the text's creation, transcription, editing, or encoding.
resp(optional)Indicates the agent(s) responsible for some aspect of the text's transcription, editing, or encoding. Its value must point to one or more identifiers declared in the document header. One or more values from data.URI, separated by spaces.
(MEI.shared) Attributes which can be used to classify features.
type(optional)Designation which characterizes the element in some sense, using any convenient classification scheme or typology that employs single-token labels. One or more values of datatype NMTOKEN, separated by spaces.
(MEI.shared) Attributes which can be used to classify features.
class(optional)Contains one or more URIs which denote classification terms that apply to the entity bearing this attribute. One or more values from data.URI, separated by spaces.
(MEI.midi) Logical domain attributes.
(MEI.shared) Attributes that identify the layer to which a feature applies.
layer(optional)Identifies the layer to which a feature applies. One or more values of datatype positiveInteger, separated by spaces.
(MEI.shared) Attributes for identifying the part in which the current feature appears.
part(optional)Indicates the part in which the current feature should appear. Use '%all' when the feature should occur in every part. One or more values of datatype a string matching the following regular expression: "(%all|#[\i][\c]+)" , separated by spaces.
partstaff(optional)Signifies the part staff on which a notated feature occurs. Use '%all' when the feature should occur on every staff. One or more values of datatype a string matching the following regular expression: "(%all|\d+(-\d+)?)" , separated by spaces.
(MEI.shared) Attributes for identifying the staff associated with the current feature.
staff(recommended)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.
(MEI.visual) Visual domain attributes.
(MEI.gestural) Gestural domain attributes.
(MEI.analytical) Analytical domain attributes.
Component declarations that are shared between two or more modules.
class(optional)Contains one or more URIs which denote classification terms that apply to the entity bearing this attribute. One or more values from data.URI, separated by spaces.
copyof(optional)Points to an element of which the current element is a copy. Value conforms to data.URI.
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.
follows(optional)points to one or more events in a user-defined collection that are known to be predecessors of the current element. One or more values from data.URI, separated by spaces.
label(optional)Captures text to be used to generate a label for the element to which it's attached, a "tool tip" or prefatory text, for example. Should not be used to record document content. Value of datatype string.
layer(optional)Identifies the layer to which a feature applies. One or more values of datatype positiveInteger, separated by spaces.
n(optional)Provides a number-like designation that indicates an element's position in a sequence of similar elements. May not contain space characters. Value conforms to data.WORD.
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.
part(optional)Indicates the part in which the current feature should appear. Use '%all' when the feature should occur in every part. One or more values of datatype a string matching the following regular expression: "(%all|#[\i][\c]+)" , separated by spaces.
partstaff(optional)Signifies the part staff on which a notated feature occurs. Use '%all' when the feature should occur on every staff. One or more values of datatype a string matching the following regular expression: "(%all|\d+(-\d+)?)" , separated by spaces.
precedes(optional)Points to one or more events in a user-defined collection that are known to be successors of the current element. One or more values from data.URI, separated by spaces.
prev(optional)Points to the previous event(s) in a user-defined collection. One or more values from data.URI, separated by spaces.
resp(optional)Indicates the agent(s) responsible for some aspect of the text's transcription, editing, or encoding. Its value must point to one or more identifiers declared in the document header. One or more values from data.URI, separated by spaces.
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.
staff(recommended)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.
synch(optional)Points to elements that are synchronous with the current element. One or more values from data.URI, separated by spaces.
type(optional)Designation which characterizes the element in some sense, using any convenient classification scheme or typology that employs single-token labels. One or more values of datatype NMTOKEN, separated by spaces.
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.
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.
Member of
model.midiLikeGroups elements which group MIDI-like elements.
Contained by
(MEI.midi) Groups elements which group MIDI-like elements.
(MEI.cmn) Groups elements that may appear within a CMN measure.
measureUnit of musical time consisting of a fixed number of note values of a given type, as determined by the prevailing meter, and delimited in musical notation by bar lines.
(MEI.neumes) Groups elements that may appear as part of the content of a syllable.
syllableNeume notation can be thought of as "neumed text". Therefore, the syllable element provides high-level organization in this repertoire.
(MEI.shared) Groups notated events at the layer level that are shared by the mensural and neume repertoires.
(MEI.shared) Groups notated events that may appear at the layer level in all repertoires.
abbr(abbreviation) – A generic element for 1) a shortened form of a word, including an acronym or 2) a shorthand notation.
add(addition) – Marks an addition to the text.
corr(correction) – Contains the correct form of an apparent erroneous passage.
damageContains an area of damage to the physical medium.
del(deletion) – Contains information deleted, marked as deleted, or otherwise indicated as superfluous or spurious in the copy text by an author, scribe, annotator, or corrector.
expan(expansion) – Contains the expansion of an abbreviation.
layerAn independent stream of events on a staff.
lem(lemma) – Contains the lemma, or base text, of a textual variation.
oLayer(ossia layer) – A layer that contains an alternative to material in another layer.
orig(original) – Contains material which is marked as following the original, rather than being normalized or corrected.
rdg(reading) – Contains a single reading within a textual variation.
reg(regularization) – Contains material which has been regularized or normalized in some sense.
restoreIndicates restoration of material to an earlier state by cancellation of an editorial or authorial marking or instruction.
sicContains apparently incorrect or inaccurate material.
suppliedContains material supplied by the transcriber or editor for any reason.
unclearContains material that cannot be transcribed with certainty because it is illegible or inaudible in the source.
Common Music Notation (CMN) repertoire component declarations.
measureUnit of musical time consisting of a fixed number of note values of a given type, as determined by the prevailing meter, and delimited in musical notation by bar lines.
oLayer(ossia layer) – A layer that contains an alternative to material in another layer.
Critical apparatus component declarations.
lem(lemma) – Contains the lemma, or base text, of a textual variation.
rdg(reading) – Contains a single reading within a textual variation.
Editorial and transcriptional component declarations.
abbr(abbreviation) – A generic element for 1) a shortened form of a word, including an acronym or 2) a shorthand notation.
add(addition) – Marks an addition to the text.
corr(correction) – Contains the correct form of an apparent erroneous passage.
damageContains an area of damage to the physical medium.
del(deletion) – Contains information deleted, marked as deleted, or otherwise indicated as superfluous or spurious in the copy text by an author, scribe, annotator, or corrector.
expan(expansion) – Contains the expansion of an abbreviation.
orig(original) – Contains material which is marked as following the original, rather than being normalized or corrected.
reg(regularization) – Contains material which has been regularized or normalized in some sense.
restoreIndicates restoration of material to an earlier state by cancellation of an editorial or authorial marking or instruction.
sicContains apparently incorrect or inaccurate material.
suppliedContains material supplied by the transcriber or editor for any reason.
unclearContains material that cannot be transcribed with certainty because it is illegible or inaudible in the source.
Neume repertoire component declarations.
syllableNeume notation can be thought of as "neumed text". Therefore, the syllable element provides high-level organization in this repertoire.
Component declarations that are shared between two or more modules.
layerAn independent stream of events on a staff.
May Contain
cc(control change) – MIDI parameter/control change.
chan(channel) – MIDI channel assignment.
chanPr(channel pressure) – MIDI channel pressure/after touch.
cueMIDI cue point.
hexArbitrary MIDI data in hexadecimal form.
metaTextMIDI text meta-event.
noteOffMIDI note-off event.
noteOnMIDI note-on event.
portMIDI port.
prog(program) – MIDI program change.
seqNum(sequence number) – MIDI sequence number.
trkName(track name) – MIDI track/sequence name.
vel(velocity) – MIDI Note-on/off velocity.
MIDI component declarations.
cc(control change) – MIDI parameter/control change.
chan(channel) – MIDI channel assignment.
chanPr(channel pressure) – MIDI channel pressure/after touch.
cueMIDI cue point.
hexArbitrary MIDI data in hexadecimal form.
metaTextMIDI text meta-event.
noteOffMIDI note-off event.
noteOnMIDI note-on event.
portMIDI port.
prog(program) – MIDI program change.
seqNum(sequence number) – MIDI sequence number.
trkName(track name) – MIDI track/sequence name.
vel(velocity) – MIDI Note-on/off velocity.
Remarks

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

Declaration
<elementSpec ident="midi" module="MEI.midi">
<desc>Container for elements that contain information useful when generating MIDI output.</desc>
<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>
<p part="N">The
<att scheme="TEI">label</att>
attribute can be used to differentiate between multiple MIDI data streams, e.g. quantized/unquantized, straight/swing, ornamented/as notated, etc.</p>
</remarks>
</elementSpec>