mei:mei_model.layerDefLike

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
beam.color mei:mei_data.COLOR optional
Color of beams, including those associated with
tuplets.
beam.group xs:string optional
Provides an example of how automated beaming (including secondary beams)
is to be performed.
beam.rend restriction of xs:token optional
Encodes whether a beam is "feathered" and in which
direction.
beam.rests mei:mei_data.BOOLEAN optional
Indicates whether automatically-drawn beams should include rests shorter
than a quarter note duration.
beam.slope xs:decimal optional
Captures beam slope.
decls restriction of list of mei:mei_data.URI optional
Identifies one or more metadata elements within the header, which are
understood to apply to the element bearing this attribute and its
content.
dur.default mei:mei_data.DURATION optional
Contains a default duration in those situations when the first note, rest,
chord, etc. in a measure does not have a duration specified.
instr mei:mei_data.URI optional
Provides a way of pointing to a MIDI instrument definition. It must
contain the ID of an <instrDef> element elsewhere in the
document.
label xs:string optional
Provides a name or label for an element. The value may be any
string.
label.abbr xs:string optional
Provides a label for a group of staves on pages after the first page.
Usually, this label takes an abbreviated form.
n xs:nonNegativeInteger optional
A non-negative integer value functioning as a "name".
num.default xs:positiveInteger optional
Along with numbase.default, describes the default duration as a ratio.
num.default is the first value in the ratio.
numbase.default xs:positiveInteger optional
Along with num.default, describes the default duration as a ratio.
numbase.default is the second value in the ratio.
octave.default mei:mei_data.OCTAVE 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.
text.fam mei:mei_data.FONTFAMILY 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.
text.name mei:mei_data.FONTNAME optional
Provides a default value for the font name of text (other than lyrics)
when this information is not provided on the individual elements.
text.size mei:mei_data.FONTSIZE optional
Provides a default value for the font size of text (other than lyrics)
when this information is not provided on the individual elements.
text.style mei:mei_data.FONTSTYLE optional
Provides a default value for the font style of text (other than lyrics)
when this information is not provided on the individual elements.
text.weight mei:mei_data.FONTWEIGHT optional
Provides a default value for the font weight for text (other than lyrics)
when this information is not provided on the individual elements.
trans.diat xs:decimal 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.
trans.semi xs:decimal 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.
visible mei:mei_data.BOOLEAN optional
Indicates if a feature should be rendered when the notation is presented
graphically or sounded when it is presented in an aural form.
xml:base mei:mei_data.URI optional
Provides a base URI reference with which applications can resolve relative
URI references into absolute URI references.
xml:id xs: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.

Used By

Element mei:staffDef

Source

<xs:element name="mei_model.layerDefLike" abstract="true">
  <xs:complexType>
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="mei:mei_model.labelLike"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="mei:mei_model.instrDefLike"/>
    </xs:sequence>
    <xs:attributeGroup ref="mei:mei_att.commonPart.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.declaring.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.layerDef.log.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.layerDef.vis.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.layerDef.ges.attributes"/>
    <xs:attribute name="n" type="xs:nonNegativeInteger">
      <xs:annotation>
        <xs:documentation>A non-negative integer value functioning as a "name".</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample