<instrDef>

(instrument definition) – MIDI instrument declaration.
Module
Attributes
@azimuth, @class, @copyof, @corresp, @decls, @elevation, @follows, @label, @meiversion, @midi.channel, @midi.duty, @midi.instrname, @midi.instrnum, @midi.pan, @midi.patchname, @midi.patchnum, @midi.port, @midi.track, @midi.volume, @n, @next, @precedes, @prev, @resp, @sameas, @synch, @type, @xml:base, @xml:id
@azimuth(optional)The lateral or left-to-right plane.
@class(optional)Contains one or more URIs which denote classification terms that apply to the entity bearing this attribute.
@copyof(optional)Points to an element of which the current element is a copy.
@corresp(optional)Used to point to other elements that correspond to this one in a generic fashion.
@decls(optional)Identifies one or more metadata elements (other than classification terms) within the header, which are understood to apply to the element bearing this attribute and its content.
@elevation(optional)The above-to-below axis.
@follows(optional)points to one or more events in a user-defined collection that are known to be predecessors of the current element.
@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.
@meiversion(recommended)Specifies a generic MEI version label. Allowed values are: "6.0-dev" (Version of MEI), "6.0-dev+anyStart" (Version of MEI All AnyStart customization)
@midi.channel(optional)Records a MIDI channel value.
@midi.duty(optional)Specifies the 'on' part of the duty cycle as a percentage of a note’s duration.
@midi.instrname(optional)Provides a General MIDI label for the MIDI instrument.
@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.
@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.
@midi.patchname(optional)Records a non-General MIDI patch/instrument name.
@midi.patchnum(optional)Records a non-General MIDI patch/instrument number.
@midi.port(optional)Sets the MIDI port value.
@midi.track(optional)Sets the MIDI track.
@midi.volume(optional)Sets the instrument’s volume.
@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.
@next(optional)Used to point to the next event(s) in a user-defined collection.
@precedes(optional)Points to one or more events in a user-defined collection that are known to be successors of the current element.
@prev(optional)Points to the previous event(s) in a user-defined collection.
@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.
@sameas(optional)Points to an element that is the same as the current element but is not a literal copy of the current element.
@synch(optional)Points to elements that are synchronous with the current element.
@type(optional)Designation which characterizes the element in some sense, using any convenient classification scheme or typology that employs single-token labels.
@xml:base(optional)Provides a base URI reference with which applications can resolve relative URI references into absolute URI references.
@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.
(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.
(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.
(MEI.shared) Attributes that record the version of MEI in use.
@meiversion(recommended)Specifies a generic MEI version label. Allowed values are: "6.0-dev" (Version of MEI), "6.0-dev+anyStart" (Version of MEI All AnyStart customization)
(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.
(MEI.shared) Attributes that specify element-to-element relationships.
@copyof(optional)Points to an element of which the current element is a copy.
@corresp(optional)Used to point to other elements that correspond to this one in a generic fashion.
@follows(optional)points to one or more events in a user-defined collection that are known to be predecessors of the current element.
@next(optional)Used to point to the next event(s) in a user-defined collection.
@precedes(optional)Points to one or more events in a user-defined collection that are known to be successors of the current element.
@prev(optional)Points to the previous event(s) in a user-defined collection.
@sameas(optional)Points to an element that is the same as the current element but is not a literal copy of the current element.
@synch(optional)Points to elements that are synchronous with the current element.
(MEI.shared) Provides attributes for elements which may be associated with particular contextual elements within the header.
@decls(optional)Identifies one or more metadata elements (other than classification terms) within the header, which are understood to apply to the element bearing this attribute and its content.
(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.
(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.
(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.
(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.
(MEI.analytical) Analytical domain attributes.
(MEI.gestural) Gestural domain attributes.
(MEI.midi) Attributes that record MIDI channel information.
@midi.channel(optional)Records a MIDI channel value.
@midi.duty(optional)Specifies the 'on' part of the duty cycle as a percentage of a note’s duration.
@midi.port(optional)Sets the MIDI port value.
@midi.track(optional)Sets the MIDI track.
(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.
@midi.instrname(optional)Provides a General MIDI label for the MIDI instrument.
@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.
@midi.patchname(optional)Records a non-General MIDI patch/instrument name.
@midi.patchnum(optional)Records a non-General MIDI patch/instrument number.
@midi.volume(optional)Sets the instrument’s volume.
(MEI.gestural) Attributes that locate a sound source within 3-D space.
@azimuth(optional)The lateral or left-to-right plane.
@elevation(optional)The above-to-below axis.
(MEI.midi) Logical domain attributes.
(MEI.visual) Visual domain attributes.
@azimuth(optional)The lateral or left-to-right plane.
@elevation(optional)The above-to-below axis.
@midi.channel(optional)Records a MIDI channel value.
@midi.duty(optional)Specifies the 'on' part of the duty cycle as a percentage of a note’s duration.
@midi.instrname(optional)Provides a General MIDI label for the MIDI instrument.
@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.
@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.
@midi.patchname(optional)Records a non-General MIDI patch/instrument name.
@midi.patchnum(optional)Records a non-General MIDI patch/instrument number.
@midi.port(optional)Sets the MIDI port value.
@midi.track(optional)Sets the MIDI track.
@midi.volume(optional)Sets the instrument’s volume.
@class(optional)Contains one or more URIs which denote classification terms that apply to the entity bearing this attribute.
@copyof(optional)Points to an element of which the current element is a copy.
@corresp(optional)Used to point to other elements that correspond to this one in a generic fashion.
@decls(optional)Identifies one or more metadata elements (other than classification terms) within the header, which are understood to apply to the element bearing this attribute and its content.
@follows(optional)points to one or more events in a user-defined collection that are known to be predecessors of the current element.
@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.
@meiversion(recommended)Specifies a generic MEI version label. Allowed values are: "6.0-dev" (Version of MEI), "6.0-dev+anyStart" (Version of MEI All AnyStart customization)
@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.
@next(optional)Used to point to the next event(s) in a user-defined collection.
@precedes(optional)Points to one or more events in a user-defined collection that are known to be successors of the current element.
@prev(optional)Points to the previous event(s) in a user-defined collection.
@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.
@sameas(optional)Points to an element that is the same as the current element but is not a literal copy of the current element.
@synch(optional)Points to elements that are synchronous with the current element.
@type(optional)Designation which characterizes the element in some sense, using any convenient classification scheme or typology that employs single-token labels.
@xml:base(optional)Provides a base URI reference with which applications can resolve relative URI references into absolute URI references.
@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.
Member of
model.instrDefLikeGroups elements used to declare a MIDI instrument.
Contained By
(MEI.shared) Groups elements used to declare a MIDI instrument.
<instrGrp>Collects MIDI instrument definitions.
<layerDef>Container for layer meta-information.
<staffDef>Container for staff meta-information.
<staffGrp>A group of bracketed or braced staves.
<instrGrp>Collects MIDI instrument definitions.
<layerDef>Container for layer meta-information.
<staffDef>Container for staff meta-information.
<staffGrp>A group of bracketed or braced staves.
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.linking"/>
<memberOf key="att.metadataPointing"/>
<memberOf key="att.nInteger"/>
<memberOf key="att.responsibility"/>
<memberOf key="att.typed"/>
<memberOf key="att.instrDef.anl"/>
<memberOf key="att.instrDef.ges"/>
<memberOf key="att.instrDef.log"/>
<memberOf key="att.instrDef.vis"/>
<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>