<instrDef>

(instrument definition) – MIDI instrument declaration.
Module
Attributes
@azimuth, @elevation, @label, @midi.channel, @midi.duty, @midi.instrname, @midi.instrnum, @midi.pan, @midi.patchname, @midi.patchnum, @midi.port, @midi.track, @midi.volume, @n, @type, @xml:id
@azimuth(optional)The lateral or left-to-right plane. Value conforms to data.DEGREES.
@elevation(optional)The above-to-below axis. Value conforms to data.DEGREES.
@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 conforms to XML Schema string datatype.
@midi.channel(optional)Records a MIDI channel value. Value conforms to data.MIDICHANNEL.
@midi.duty(optional)Specifies the 'on' part of the duty cycle as a percentage of a note’s duration. Value conforms to data.PERCENT.LIMITED.
@midi.instrname(optional)Provides a General MIDI label for the MIDI instrument. Value conforms to data.MIDINAMES.
@midi.instrnum(optional)Captures the General MIDI instrument number. Use an integer for a 0-based value. Use an integer followed by an "o" (oh) for a 1-based value. Value conforms to data.MIDIVALUE.
@midi.pan(optional)Sets the instrument’s position in a stereo field. Values of 0 and 1 both pan left, 127 and 128o both pan right, and 63 and 64o both pan to the center. Positive percentage values pan to the right, negative ones to the left, and 0% pans to the center. Value conforms to data.MIDIVALUE_PAN.
@midi.patchname(optional)Records a non-General MIDI patch/instrument name. Value conforms to XML Schema NMTOKEN datatype.
@midi.patchnum(optional)Records a non-General MIDI patch/instrument number. Value conforms to data.MIDIVALUE.
@midi.port(optional)Sets the MIDI port value. Value conforms to data.MIDIVALUE_NAME.
@midi.track(optional)Sets the MIDI track. Value conforms to XML Schema positiveInteger datatype.
@midi.volume(optional)Sets the instrument’s volume. Value conforms to data.MIDIVALUE_PERCENT.
@n(optional)Provides a numeric designation that indicates an element’s position in a sequence of similar elements. Its value must be a non-negative integer. Value conforms to XML Schema nonNegativeInteger datatype.
@type(optional)Designation which characterizes the element in some sense, using any convenient classification scheme or typology that employs single-token labels. Value conforms to 1 or more space-separated values of XML Schema NMTOKEN datatype.
@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 conforms to XML Schema ID datatype.
(MEI.shared) Attributes that form the basis of the att.common class.
(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 conforms to XML Schema ID datatype.
(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 conforms to XML Schema string datatype.
(MEI.shared) Attributes used to supply an integer number designation for an element.
@n(optional)Provides a numeric designation that indicates an element’s position in a sequence of similar elements. Its value must be a non-negative integer. Value conforms to XML Schema nonNegativeInteger datatype.
(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. Value conforms to 1 or more space-separated values of XML Schema NMTOKEN datatype.
(MEI.gestural) Gestural domain attributes.
(MEI.midi) Attributes that record MIDI channel information.
@midi.channel(optional)Records a MIDI channel value. Value conforms to data.MIDICHANNEL.
@midi.duty(optional)Specifies the 'on' part of the duty cycle as a percentage of a note’s duration. Value conforms to data.PERCENT.LIMITED.
@midi.port(optional)Sets the MIDI port value. Value conforms to data.MIDIVALUE_NAME.
@midi.track(optional)Sets the MIDI track. Value conforms to XML Schema positiveInteger datatype.
(MEI.midi) Attributes that record MIDI instrument information.
@midi.instrnum(optional)Captures the General MIDI instrument number. Use an integer for a 0-based value. Use an integer followed by an "o" (oh) for a 1-based value. Value conforms to data.MIDIVALUE.
@midi.instrname(optional)Provides a General MIDI label for the MIDI instrument. Value conforms to data.MIDINAMES.
@midi.pan(optional)Sets the instrument’s position in a stereo field. Values of 0 and 1 both pan left, 127 and 128o both pan right, and 63 and 64o both pan to the center. Positive percentage values pan to the right, negative ones to the left, and 0% pans to the center. Value conforms to data.MIDIVALUE_PAN.
@midi.patchname(optional)Records a non-General MIDI patch/instrument name. Value conforms to XML Schema NMTOKEN datatype.
@midi.patchnum(optional)Records a non-General MIDI patch/instrument number. Value conforms to data.MIDIVALUE.
@midi.volume(optional)Sets the instrument’s volume. Value conforms to data.MIDIVALUE_PERCENT.
(MEI.gestural) Attributes that locate a sound source within 3-D space.
@azimuth(optional)The lateral or left-to-right plane. Value conforms to data.DEGREES.
@elevation(optional)The above-to-below axis. Value conforms to data.DEGREES.
(MEI.midi) Logical domain attributes.
@azimuth(optional)The lateral or left-to-right plane. Value conforms to data.DEGREES.
@elevation(optional)The above-to-below axis. Value conforms to data.DEGREES.
@midi.channel(optional)Records a MIDI channel value. Value conforms to data.MIDICHANNEL.
@midi.duty(optional)Specifies the 'on' part of the duty cycle as a percentage of a note’s duration. Value conforms to data.PERCENT.LIMITED.
@midi.instrname(optional)Provides a General MIDI label for the MIDI instrument. Value conforms to data.MIDINAMES.
@midi.instrnum(optional)Captures the General MIDI instrument number. Use an integer for a 0-based value. Use an integer followed by an "o" (oh) for a 1-based value. Value conforms to data.MIDIVALUE.
@midi.pan(optional)Sets the instrument’s position in a stereo field. Values of 0 and 1 both pan left, 127 and 128o both pan right, and 63 and 64o both pan to the center. Positive percentage values pan to the right, negative ones to the left, and 0% pans to the center. Value conforms to data.MIDIVALUE_PAN.
@midi.patchname(optional)Records a non-General MIDI patch/instrument name. Value conforms to XML Schema NMTOKEN datatype.
@midi.patchnum(optional)Records a non-General MIDI patch/instrument number. Value conforms to data.MIDIVALUE.
@midi.port(optional)Sets the MIDI port value. Value conforms to data.MIDIVALUE_NAME.
@midi.track(optional)Sets the MIDI track. Value conforms to XML Schema positiveInteger datatype.
@midi.volume(optional)Sets the instrument’s volume. Value conforms to data.MIDIVALUE_PERCENT.
@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 conforms to XML Schema string datatype.
@n(optional)Provides a numeric designation that indicates an element’s position in a sequence of similar elements. Its value must be a non-negative integer. Value conforms to XML Schema nonNegativeInteger datatype.
@type(optional)Designation which characterizes the element in some sense, using any convenient classification scheme or typology that employs single-token labels. Value conforms to 1 or more space-separated values of XML Schema NMTOKEN datatype.
@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 conforms to XML Schema ID datatype.
Member of
model.instrDefLikeGroups elements used to declare a MIDI instrument.
Contained By
(MEI.shared) Groups elements used to declare a MIDI instrument.
<staffDef>Container for staff meta-information.
<staffDef>Container for staff meta-information.
May Contain
– (<instrDef> may not have child elements)
Remarks

This element provides a starting or default instrument declaration for a staff, a group of staves, or a layer. Following scoreDef, staffDef, layerDef, or MIDI prog elements may then change the instrument as necessary.

Declaration
<elementSpec xmlns="http://www.tei-c.org/ns/1.0" rend="add" ident="instrDef" module="MEI.midi">
<gloss xml:lang="en">instrument definition</gloss>
<desc xml:lang="en">MIDI instrument declaration.</desc>
<classes>
<memberOf key="att.basic"/>
<memberOf key="att.labelled"/>
<memberOf key="att.nInteger"/>
<memberOf key="att.typed"/>
<memberOf key="att.instrDef.ges"/>
<memberOf key="att.instrDef.log"/>
<memberOf key="model.instrDefLike"/>
</classes>
<content>
<empty/>
</content>
<remarks xml:lang="en">
<p>This element provides a starting or default instrument declaration for a staff, a group of staves, or a layer. Following scoreDef, staffDef, layerDef, or MIDI prog elements may then change the instrument as necessary.</p>
</remarks>
</elementSpec>