<layerDef>

Module
MEI.shared
Attributes
beam.color, beam.group, beam.rend, beam.rests, beam.slope, class, copyof, corresp, decls, dur.default, follows, instr, label, n, next, num.default, numbase.default, oct.default, precedes, prev, resp, sameas, synch, text.fam, text.name, text.size, text.style, text.weight, trans.diat, trans.semi, type, visible, xml:base, xml:id
beam.color(optional)Color of beams, including those associated with tuplets. Value conforms to data.COLOR.
beam.group(optional)Provides an example of how automated beaming (including secondary beams) is to be performed. Value of datatype string.
beam.rend(optional)Encodes whether a beam is "feathered" and in which direction. Allowed values are: "acc" (Beam lines grow farther apart from left to right.), "rit" (Beam lines grow closer together from left to right.), "norm" (Beam lines are equally-spaced over the entire length of the beam.)
beam.rests(optional)Indicates whether automatically-drawn beams should include rests shorter than a quarter note duration. Value conforms to data.BOOLEAN.
beam.slope(optional)Captures beam slope. Value of datatype decimal.
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.
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. One or more values from data.URI, separated by spaces.
dur.default(optional)Contains a default duration in those situations when the first note, rest, chord, etc. in a measure does not have a duration specified. Value conforms to data.DURATION.
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.
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.
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.
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 of datatype nonNegativeInteger.
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.
num.default(optional)Along with numbase.default, describes the default duration as a ratio. num.default is the first value in the ratio. Value of datatype positiveInteger.
numbase.default(optional)Along with num.default, describes the default duration as a ratio. numbase.default is the second value in the ratio. Value of datatype positiveInteger.
oct.default(optional)Contains a default octave specification for use when the first note, rest, chord, etc. in a measure does not have an octave value specified. Value conforms to data.OCTAVE.
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.
synch(optional)Points to elements that are synchronous with the current element. One or more values from data.URI, separated by spaces.
text.fam(optional)Provides a default value for the font family name of text (other than lyrics) when this information is not provided on the individual elements. Value conforms to data.FONTFAMILY.
text.name(optional)Provides a default value for the font name of text (other than lyrics) when this information is not provided on the individual elements. Value conforms to data.FONTNAME.
text.size(optional)Provides a default value for the font size of text (other than lyrics) when this information is not provided on the individual elements. Value conforms to data.FONTSIZE.
text.style(optional)Provides a default value for the font style of text (other than lyrics) when this information is not provided on the individual elements. Value conforms to data.FONTSTYLE.
text.weight(optional)Provides a default value for the font weight for text (other than lyrics) when this information is not provided on the individual elements. Value conforms to data.FONTWEIGHT.
trans.diat(optional)Records the amount of diatonic pitch shift, e.g., C to C♯ = 0, C to D♭ = 1, necessary to calculate the sounded pitch from the written one. Value of datatype decimal.
trans.semi(optional)Records the amount of pitch shift in semitones, e.g., C to C♯ = 1, C to D♭ = 1, necessary to calculate the sounded pitch from the written one. Value of datatype decimal.
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.
visible(optional)Indicates if a feature should be rendered when the notation is presented graphically or sounded when it is presented in an aural form. Value conforms to data.BOOLEAN.
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 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) 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. One or more values from data.URI, separated by spaces.
(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 of datatype nonNegativeInteger.
(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.shared) Logical domain attributes.
(MEI.shared) Attributes that provide a durational default value.
dur.default(optional)Contains a default duration in those situations when the first note, rest, chord, etc. in a measure does not have a duration specified. Value conforms to data.DURATION.
num.default(optional)Along with numbase.default, describes the default duration as a ratio. num.default is the first value in the ratio. Value of datatype positiveInteger.
numbase.default(optional)Along with num.default, describes the default duration as a ratio. numbase.default is the second value in the ratio. Value of datatype positiveInteger.
(MEI.cmn) Logical domain attributes.
(MEI.cmn) Used by layerDef, staffDef, and scoreDef to provide default values for attributes in the logical domain related to beaming.
beam.group(optional)Provides an example of how automated beaming (including secondary beams) is to be performed. Value of datatype string.
beam.rests(optional)Indicates whether automatically-drawn beams should include rests shorter than a quarter note duration. Value conforms to data.BOOLEAN.
(MEI.shared) Attributes that record a default value for octave.
oct.default(optional)Contains a default octave specification for use when the first note, rest, chord, etc. in a measure does not have an octave value specified. Value conforms to data.OCTAVE.
(MEI.shared) Attributes that describe transposition.
trans.diat(optional)Records the amount of diatonic pitch shift, e.g., C to C♯ = 0, C to D♭ = 1, necessary to calculate the sounded pitch from the written one. Value of datatype decimal.
trans.semi(optional)Records the amount of pitch shift in semitones, e.g., C to C♯ = 1, C to D♭ = 1, necessary to calculate the sounded pitch from the written one. Value of datatype decimal.
(MEI.visual) Visual domain attributes.
(MEI.visual) Used by layerDef, staffDef, and scoreDef to provide default values for attributes in the visual domain related to beaming.
beam.color(optional)Color of beams, including those associated with tuplets. Value conforms to data.COLOR.
beam.rend(optional)Encodes whether a beam is "feathered" and in which direction. Allowed values are: "acc" (Beam lines grow farther apart from left to right.), "rit" (Beam lines grow closer together from left to right.), "norm" (Beam lines are equally-spaced over the entire length of the beam.)
beam.slope(optional)Captures beam slope. Value of datatype decimal.
(MEI.shared) Attributes that describe default text typography.
text.fam(optional)Provides a default value for the font family name of text (other than lyrics) when this information is not provided on the individual elements. Value conforms to data.FONTFAMILY.
text.name(optional)Provides a default value for the font name of text (other than lyrics) when this information is not provided on the individual elements. Value conforms to data.FONTNAME.
text.size(optional)Provides a default value for the font size of text (other than lyrics) when this information is not provided on the individual elements. Value conforms to data.FONTSIZE.
text.style(optional)Provides a default value for the font style of text (other than lyrics) when this information is not provided on the individual elements. Value conforms to data.FONTSTYLE.
text.weight(optional)Provides a default value for the font weight for text (other than lyrics) when this information is not provided on the individual elements. Value conforms to data.FONTWEIGHT.
(MEI.shared) Attributes describing whether a feature should be displayed.
visible(optional)Indicates if a feature should be rendered when the notation is presented graphically or sounded when it is presented in an aural form. Value conforms to data.BOOLEAN.
(MEI.gestural) Gestural domain attributes.
(MEI.midi) Attributes which identify a MIDI instrument.
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.
(MEI.analytical) Analytical domain attributes.
Common Music Notation (CMN) repertoire component declarations.
beam.group(optional)Provides an example of how automated beaming (including secondary beams) is to be performed. Value of datatype string.
beam.rests(optional)Indicates whether automatically-drawn beams should include rests shorter than a quarter note duration. Value conforms to data.BOOLEAN.
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.
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.
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. One or more values from data.URI, separated by spaces.
dur.default(optional)Contains a default duration in those situations when the first note, rest, chord, etc. in a measure does not have a duration specified. Value conforms to data.DURATION.
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.
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 of datatype nonNegativeInteger.
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.
num.default(optional)Along with numbase.default, describes the default duration as a ratio. num.default is the first value in the ratio. Value of datatype positiveInteger.
numbase.default(optional)Along with num.default, describes the default duration as a ratio. numbase.default is the second value in the ratio. Value of datatype positiveInteger.
oct.default(optional)Contains a default octave specification for use when the first note, rest, chord, etc. in a measure does not have an octave value specified. Value conforms to data.OCTAVE.
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.
synch(optional)Points to elements that are synchronous with the current element. One or more values from data.URI, separated by spaces.
text.fam(optional)Provides a default value for the font family name of text (other than lyrics) when this information is not provided on the individual elements. Value conforms to data.FONTFAMILY.
text.name(optional)Provides a default value for the font name of text (other than lyrics) when this information is not provided on the individual elements. Value conforms to data.FONTNAME.
text.size(optional)Provides a default value for the font size of text (other than lyrics) when this information is not provided on the individual elements. Value conforms to data.FONTSIZE.
text.style(optional)Provides a default value for the font style of text (other than lyrics) when this information is not provided on the individual elements. Value conforms to data.FONTSTYLE.
text.weight(optional)Provides a default value for the font weight for text (other than lyrics) when this information is not provided on the individual elements. Value conforms to data.FONTWEIGHT.
trans.diat(optional)Records the amount of diatonic pitch shift, e.g., C to C♯ = 0, C to D♭ = 1, necessary to calculate the sounded pitch from the written one. Value of datatype decimal.
trans.semi(optional)Records the amount of pitch shift in semitones, e.g., C to C♯ = 1, C to D♭ = 1, necessary to calculate the sounded pitch from the written one. Value of datatype decimal.
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.
visible(optional)Indicates if a feature should be rendered when the notation is presented graphically or sounded when it is presented in an aural form. Value conforms to data.BOOLEAN.
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.
Visual component declarations.
beam.color(optional)Color of beams, including those associated with tuplets. Value conforms to data.COLOR.
beam.rend(optional)Encodes whether a beam is "feathered" and in which direction. Allowed values are: "acc" (Beam lines grow farther apart from left to right.), "rit" (Beam lines grow closer together from left to right.), "norm" (Beam lines are equally-spaced over the entire length of the beam.)
beam.slope(optional)Captures beam slope. Value of datatype decimal.
Member of
model.layerDefLikeGroups elements that permit declaration of layer properties.
Contained by
(MEI.shared) Groups elements that permit declaration of layer properties.
staffDef(staff definition) – Container for staff meta-information.
Component declarations that are shared between two or more modules.
staffDef(staff definition) – Container for staff meta-information.
May Contain
ambitusRange of a voice, instrument or piece.
(MEI.shared) Groups elements used to declare a MIDI instrument.
instrDef(instrument definition) – MIDI instrument declaration.
(MEI.shared) Groups elements used to assign a label to other parts of a document.
labelA container for document text that identifies the feature to which it is attached. For a "tool tip" or other generated label, use the label attribute.
labelAbbrA label on the pages following the first.
MIDI component declarations.
instrDef(instrument definition) – MIDI instrument declaration.
Component declarations that are shared between two or more modules.
ambitusRange of a voice, instrument or piece.
labelA container for document text that identifies the feature to which it is attached. For a "tool tip" or other generated label, use the label attribute.
labelAbbrA label on the pages following the first.
Declaration
<elementSpec ident="layerDef" module="MEI.shared">
<desc>(layer definition) – Container for layer meta-information.</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.layerDef.log"/>
<memberOf key="att.layerDef.vis"/>
<memberOf key="att.layerDef.ges"/>
<memberOf key="att.layerDef.anl"/>
<memberOf key="model.layerDefLike"/>
</classes>
<content>
<rng:zeroOrMore>
<rng:choice>
<rng:ref name="model.labelLike" />
</rng:choice>
</rng:zeroOrMore>
<rng:zeroOrMore>
<rng:ref name="model.instrDefLike" />
</rng:zeroOrMore>
<rng:optional>
<rng:ref name="ambitus" />
</rng:optional>
</content>
</elementSpec>