att.instrumentIdent

Attributes which identify a MIDI instrument.
Module
MEI.midi
Attributes
instr
instr(optional)Provides a way of pointing to a MIDI instrument definition. It must contain the ID of an instrDef element elsewhere in the document. Value conforms to data.URI.
instr(optional)Provides a way of pointing to a MIDI instrument definition. It must contain the ID of an instrDef element elsewhere in the document. Value conforms to data.URI.
MIDI component declarations.
instr(optional)Provides a way of pointing to a MIDI instrument definition. It must contain the ID of an instrDef element elsewhere in the document. Value conforms to data.URI.
Available at
chordA simultaneous sounding of two or more notes in the same layer *with the same duration*.
layerDef(layer definition) – Container for layer meta-information.
mRest(measure rest) – Complete measure rest in any meter.
mSpace(measure space) – A measure containing only empty space in any meter.
multiRest(multiple rest) – Multiple measures of rest compressed into a single symbol, frequently found in performer parts.
ncSign representing a single pitched event, although the exact pitch may not be known.
noteA single pitched event.
restA non-sounding event found in the source being transcribed.
staffDef(staff definition) – Container for staff meta-information.
staffGrp(staff group) – A group of bracketed or braced staves.
mRest(measure rest) – Complete measure rest in any meter.
mSpace(measure space) – A measure containing only empty space in any meter.
multiRest(multiple rest) – Multiple measures of rest compressed into a single symbol, frequently found in performer parts.
ncSign representing a single pitched event, although the exact pitch may not be known.
chordA simultaneous sounding of two or more notes in the same layer *with the same duration*.
layerDef(layer definition) – Container for layer meta-information.
noteA single pitched event.
restA non-sounding event found in the source being transcribed.
staffDef(staff definition) – Container for staff meta-information.
staffGrp(staff group) – A group of bracketed or braced staves.
Constraints
@instr attribute should have content.
The value in @instr should correspond to the @xml:id attribute of an instrDef element.
<sch:rule context="@instr">
<sch:assert role="warning" test="not(normalize-space(.) eq '')">@instr attribute should have content.</sch:assert>
<sch:assert role="warning" test="every $i in tokenize(., '\s+') satisfies substring($i,2)=//mei:instrDef/@xml:id">The value in @instr should correspond to the @xml:id attribute of an instrDef element.</sch:assert>
</sch:rule>
Declaration
<classSpec ident="att.instrumentIdent" module="MEI.midi" type="atts">
<desc>Attributes which identify a MIDI instrument.</desc>
<attList org="group">
<attDef ident="instr" usage="opt">
<desc>Provides a way of pointing to a MIDI instrument definition. It must contain the ID of an
<gi scheme="MEI">instrDef</gi>
element elsewhere in the document.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:ref name="data.URI" />
</datatype>
<constraintSpec ident="check_instrTarget" scheme="isoschematron">
<constraint>
<sch:rule context="@instr">
<sch:assert role="warning" test="not(normalize-space(.) eq '')">@instr attribute should have content.</sch:assert>
<sch:assert role="warning" test="every $i in tokenize(., '\s+') satisfies substring($i,2)=//mei:instrDef/@xml:id">The value in @instr should correspond to the @xml:id attribute of an instrDef element.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
</attDef>
</attList>
</classSpec>