mei:note

A single pitched event.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
accid mei:mei_data.ACCIDENTAL.EXPLICIT optional
Captures a written accidental.
accid.ges mei:mei_data.ACCIDENTAL.IMPLICIT optional
Records the performed pitch inflection.
altsym mei:mei_data.URI optional
Provides a way of pointing to a user-defined symbol. It must contain an ID
of a <symbolDef> element elsewhere in the document.
artic restriction of list of mei:mei_data.ARTICULATION optional
Encodes the written articulation(s). Articulations are normally encoded in
order from the note head outward; that is, away from the stem. See additional notes at
att.vis.note. Only articulations should be encoded in the artic attribute; for example,
fingerings should be encoded using the <fingering> element.
artic.ges restriction of list of mei:mei_data.ARTICULATION optional
Records performed articulation that differs from the written
value.
beam restriction of list of mei:mei_data.BEAM optional
Indicates that this event is "under a beam".
breaksec xs:positiveInteger optional
Presence of this attribute indicates that the secondary beam should be
broken following this note/chord. The value of the attribute records the number of beams
which should remain unbroken.
color mei:mei_data.COLOR optional
Used to indicate visual appearance. Do not confuse this with the musical
term 'color' as used in pre-CMN notation.
colored mei:mei_data.BOOLEAN optional
Indicates this feature is 'colored'; that is, it is a participant in a
change in rhythmic values. In mensural notation, coloration is indicated by colored notes
(red, black, etc.) where void notes would otherwise occur. In CMN, coloration is indicated
by an inverse color; that is, the note head is void when it would otherwise be filled and
vice versa.
copyof mei:mei_data.URI optional
Points to an element of which the current element is a
copy.
corresp restriction of list of mei:mei_data.URI optional
Used to point to other elements that correspond to this one in a generic
fashion.
deg mei:mei_data.SCALEDEGREE optional
Captures relative scale degree information using Humdrum **deg syntax --
an optional indicator of melodic approach (^ = ascending approach, v = descending
approach), a scale degree value (1 = tonic ... 7 = leading tone), and an optional
indication of chromatic alteration. The amount of chromatic alternation is not
indicated.
dots mei:mei_data.AUGMENTDOT optional
Records the number of augmentation dots required by a dotted
duration.
dur mei:mei_data.DURATION optional
Records the duration of a feature using the relative durational values
provided by the data.DURATION datatype.
dur.ges mei:mei_data.DURATION.gestural optional
Records performed duration information that differs from the written
duration. Its value may be expressed in several forms; that is, ppq (MIDI clicks and
MusicXML 'divisions'), Humdrum **recip values, beats, seconds, or mensural duration
values.
enclose mei:mei_data.ENCLOSURE optional
Records the characters often used to mark accidentals, articulations, and
sometimes notes as having a cautionary or editorial function. For an example of cautionary
accidentals enclosed in parentheses, see Read, p. 131, ex. 9-14.
facs restriction of list of mei:mei_data.URI optional
Permits the current element to reference a facsimile surface or image zone
which corresponds to it.
fermata mei:mei_data.PLACE optional
Indicates the attachment of a fermata to this element. If visual
information about the fermata needs to be recorded, then a <fermata> element should
be employed instead.
fontfam mei:mei_data.FONTFAMILY optional
Contains the name of a font-family.
fontname mei:mei_data.FONTNAME optional
Holds the name of a font.
fontsize mei:mei_data.FONTSIZE optional
Indicates the size of a font expressed in printers' points, i.e., 1/72nd
of an inch, relative terms, e.g., "small", "larger", etc., or percentage values relative
to "normal" size, e.g., "125%".
fontstyle mei:mei_data.FONTSTYLE optional
Records the style of a font, i.e, italic, oblique, or
normal.
fontweight mei:mei_data.FONTWEIGHT optional
Used to indicate bold type.
gliss mei:mei_data.GLISSANDO optional
Indicates that this element participates in a
glissando.
glyphname xs:string optional
Glyph name.
glyphnum restriction of xs:string optional
Numeric glyph reference in hexadecimal notation, e.g. "#xE000" or
"U+E000". N.B. SMuFL version 1.18 uses the range U+E000 - U+ECBF.
grace mei:mei_data.GRACE optional
Marks a note or chord as a "grace" (without a definitive written duration)
and records from which other note/chord it should "steal" time.
grace.time mei:mei_data.PERCENT optional
Records the amount of time to be "stolen" from a non-grace
note/chord.
head.color mei:mei_data.COLOR optional
Captures the overall color of a notehead.
head.fill mei:mei_data.FILL optional
Describes how/if the notehead is filled.
head.fillcolor mei:mei_data.COLOR optional
Captures the fill color of a notehead if different from the overall note
color.
head.mod restriction of list of mei:mei_data.NOTEHEADMODIFIER optional
Records any additional symbols applied to the notehead.
head.rotation mei:mei_data.ROTATION optional
Describes rotation applied to the basic notehead shape. A positive value
rotates the notehead in a counter-clockwise fashion, while negative values produce
clockwise rotation.
head.shape mei:mei_data.HEADSHAPE optional
Used to override the head shape normally used for the given
duration.
head.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.
ho mei:mei_data.MEASUREMENTREL optional
Records a horizontal adjustment to a feature's programmatically-determined
location in terms of staff interline distance; that is, in units of 1/2 the distance
between adjacent staff lines.
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.
intm mei:mei_data.INTERVAL.MELODIC optional
Encodes the melodic interval from the previous pitch. The value may be a
general directional indication (u, d, s), an indication of diatonic interval direction,
quality, and size, or a precise numeric value in half steps.
label xs:string optional
Provides a name or label for an element. The value may be any
string.
layer restriction of list of xs:positiveInteger optional
Identifies the layer to which a feature applies.
lig restriction of xs:token optional
Indicates this element's participation in a ligature.
loc mei:mei_data.STAFFLOC optional
Holds the staff location of the feature.
lv mei:mei_data.BOOLEAN optional
Indicates the attachment of an l.v. (laissez vibrer) sign to this
element.
mfunc mei:mei_data.MELODICFUNCTION optional
Describes melodic function using Humdrum **embel
syntax.
n optional
Provides a number-like designation for an element.
next restriction of list of mei:mei_data.URI optional
Used to point to the next event(s) in a user-defined
collection.
num xs:positiveInteger optional
Along with numbase, describes duration as a ratio. num is the first value
in the ratio, while numbase is the second.
numbase xs:positiveInteger optional
Along with num, describes duration as a ratio. num is the first value in
the ratio, while numbase is the second.
oct mei:mei_data.OCTAVE optional
Captures written octave information.
oct.ges mei:mei_data.OCTAVE optional
Records performed octave information that differs from the written
value.
ornam restriction of list of mei:mei_data.ORNAM.cmn optional
Indicates that this element has an attached ornament. If visual
information about the ornament is needed, then one of the elements that represents an
ornament (mordent, trill, or turn) should be employed.
pclass mei:mei_data.PITCHCLASS optional
Holds pitch class information.
pname mei:mei_data.PITCHNAME optional
Contains a written pitch name.
pname.ges mei:mei_data.PITCHNAME.GES optional
Contains a performed pitch name that differs from the written
value.
pnum mei:mei_data.PITCHNUMBER optional
Holds a pitch-to-number mapping, a base-40 or MIDI note number, for
example.
prev restriction of list of mei:mei_data.URI optional
Points to the previous event(s) in a user-defined
collection.
psolfa xs:NMTOKEN optional
Contains sol-fa designation, e.g., do, re, mi, etc., in either a fixed or
movable Do system.
sameas restriction of list of mei:mei_data.URI optional
Points to an element that is the same as the current element but is not a
literal copy of the current element.
size mei:mei_data.SIZE optional
Describes the relative size of a feature.
slur restriction of list of mei:mei_data.SLUR optional
Indicates that this element participates in a slur. If visual information
about the slur needs to be recorded, then a <slur> element should be
employed.
staff restriction of list of xs:positiveInteger optional
Signifies the staff on which a notated event occurs or to which a control
event applies. Mandatory when applicable.
stem.dir mei:mei_data.STEMDIRECTION optional
Describes the direction of a stem.
stem.len mei:mei_data.MEASUREMENTABS optional
Encodes the stem length.
stem.mod mei:mei_data.STEMMODIFIER optional
Encodes any stem "modifiers"; that is, symbols rendered on the stem, such
as tremolo or Sprechstimme indicators.
stem.pos mei:mei_data.STEMPOSITION optional
Records the position of the stem in relation to the note
head(s).
stem.with mei:mei_data.OTHERSTAFF optional
Contains an indication of which staff a note or chord that logically
belongs to the current staff should be visually placed on; that is, the one above or the
one below.
stem.x xs:decimal optional
Records the output x coordinate of the stem's attachment
point.
stem.y xs:decimal optional
Records the output y coordinate of the stem's attachment
point.
syl xs:string optional
Holds an associated sung text syllable.
synch restriction of list of mei:mei_data.URI optional
Points to elements that are synchronous with the current
element.
tab.fret mei:mei_data.FRETNUMBER optional
Records the fret at which a string should be stopped.
tab.string mei:mei_data.STRINGNUMBER optional
Records which string is to be played.
tie restriction of list of mei:mei_data.TIE optional
Indicates that this element participates in a tie. If visual information
about the tie needs to be recorded, then a <tie> element should be
employed.
to mei:mei_data.TSTAMPOFFSET optional
Records a timestamp adjustment of a feature's programmatically-determined
location in terms of musical time; that is, beats.
tstamp mei:mei_data.BEAT optional
Encodes the onset time in terms of musical time, i.e.,
beats[.fractional_beat_part].
tstamp.ges mei:mei_data.DURATION.gestural optional
Captures performed onset time in several forms; that is, ppq (MIDI clicks
and MusicXML 'divisions'), Humdrum **recip values, beats, seconds, or mensural duration
values.
tstamp.real mei:mei_data.ISOTIME optional
Used to record the onset time in terms of ISO time.
tuplet restriction of list of mei:mei_data.TUPLET optional
Indicates that this feature participates in a tuplet. If visual
information about the tuplet needs to be recorded, then a <tuplet> element should be
employed.
vel mei:mei_data.MIDIVALUE optional
MIDI Note-on/off velocity.
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.
when mei:mei_data.URI optional
Indicates the point of occurrence of this feature along a time line. Its
value must be the ID of a when element elsewhere in the document.
x xs:decimal optional
Encodes an x coordinate for a feature in an output coordinate system. When
it is necessary to record the placement of a feature in a facsimile image, use the facs
attribute.
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.
y xs:decimal optional
Encodes an y coordinate for a feature in an output coordinate system. When
it is necessary to record the placement of a feature in a facsimile image, use the facs
attribute.

Used By

Source

<xs:element name="note">
  <xs:annotation>
    <xs:documentation>A single pitched event.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="mei:mei_model.noteModifierLike"/>
      <xs:element ref="mei:mei_model.verseLike"/>
      <xs:element ref="mei:mei_model.sylLike"/>
      <xs:element ref="mei:mei_model.appLike"/>
      <xs:element ref="mei:mei_model.editLike"/>
      <xs:element ref="mei:mei_model.transcriptionLike"/>
    </xs:choice>
    <xs:attributeGroup ref="mei:mei_att.common.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.facsimile.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.note.log.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.note.vis.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.note.ges.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.note.anl.attributes"/>
  </xs:complexType>
</xs:element>

Sample