<layerDef>

Module
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, tune.Hz, tune.pname, tune.temper, 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 is plain text.
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 is a decimal number.
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 is plain text.
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 is a positive integer, including 0.
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 is a positive integer.
numbase.default(optional)Along with num.default, describes the default duration as a ratio. numbase.default is the second value in the ratio. Value is a positive integer.
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 is an integer.
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 is an integer.
tune.Hz(optional)Holds a value for cycles per second, i.e., Hertz, for a tuning reference pitch. Value is a decimal number.
tune.pname(optional)Holds the pitch name of a tuning reference pitch, i.e., the central tone of a tuning system. Value conforms to data.PITCHNAME.
tune.temper(optional)Provides an indication of the tuning system, just, for example. Value conforms to data.TEMPERAMENT.
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 is a valid xml: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 is a valid xml: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 is plain text.
(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 is a positive integer, including 0.
(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.analytical) Analytical domain attributes.
(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.shared) Attributes that describe tuning.
tune.Hz(optional)Holds a value for cycles per second, i.e., Hertz, for a tuning reference pitch. Value is a decimal number.
tune.pname(optional)Holds the pitch name of a tuning reference pitch, i.e., the central tone of a tuning system. Value conforms to data.PITCHNAME.
tune.temper(optional)Provides an indication of the tuning system, just, for example. Value conforms to data.TEMPERAMENT.
(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 is a positive integer.
numbase.default(optional)Along with num.default, describes the default duration as a ratio. numbase.default is the second value in the ratio. Value is a positive integer.
(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 is plain text.
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 is an integer.
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 is an integer.
(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 is a decimal number.
(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.
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 is plain text.
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 is plain text.
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 is a positive integer, including 0.
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 is a positive integer.
numbase.default(optional)Along with num.default, describes the default duration as a ratio. numbase.default is the second value in the ratio. Value is a positive integer.
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 is an integer.
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 is an integer.
tune.Hz(optional)Holds a value for cycles per second, i.e., Hertz, for a tuning reference pitch. Value is a decimal number.
tune.pname(optional)Holds the pitch name of a tuning reference pitch, i.e., the central tone of a tuning system. Value conforms to data.PITCHNAME.
tune.temper(optional)Provides an indication of the tuning system, just, for example. Value conforms to data.TEMPERAMENT.
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 is a valid xml: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 is a decimal number.
Member of
model.layerDefLikeGroups elements that permit declaration of layer properties.
Contained By
(MEI.shared) Groups elements that permit declaration of layer properties.
staffDefContainer for staff meta-information.
Component declarations that are shared between two or more modules.
staffDefContainer for staff meta-information.
May Contain
ambitusRange of a voice, instrument or piece.
(MEI.shared) Groups elements used to declare a MIDI instrument.
instrDefMIDI 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.
(MEI.shared) Groups elements that represent a meter signature.
meterSigWritten meter signature.
meterSigGrpUsed to capture alternating, interchanging, mixed or other non-standard meter signatures.
Common Music Notation (CMN) repertoire component declarations.
meterSigWritten meter signature.
meterSigGrpUsed to capture alternating, interchanging, mixed or other non-standard meter signatures.
MIDI component declarations.
instrDefMIDI 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">
<gloss xml:lang="en">layer definition</gloss>
<desc xml:lang="en">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.anl"/>
<memberOf key="att.layerDef.ges"/>
<memberOf key="att.layerDef.log"/>
<memberOf key="att.layerDef.vis"/>
<memberOf key="model.layerDefLike"/>
</classes>
<content>
<rng:zeroOrMore>
<rng:ref name="model.labelLike"/>
</rng:zeroOrMore>
<rng:zeroOrMore>
<rng:choice>
<rng:ref name="model.instrDefLike"/>
<rng:ref name="model.meterSigLike"/>
</rng:choice>
</rng:zeroOrMore>
<rng:optional>
<rng:ref name="ambitus"/>
</rng:optional>
</content>
</elementSpec>