<stem>

Module
Attributes
class, color, copyof, corresp, dir, facs, flag.form, flag.pos, follows, form, glyph.auth, glyph.name, glyph.num, glyph.uri, label, len, n, next, pos, precedes, prev, resp, sameas, synch, type, visible, x, xml:base, xml:id, y
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.
color(optional)Used to indicate visual appearance. Do not confuse this with the musical term 'color' as used in pre-CMN notation. Value conforms to data.COLOR.
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.
dir(optional)Describes the direction of a stem. Value conforms to data.STEMDIRECTION.
facs(optional)Points to one or more images, portions of an image, or surfaces which correspond to the current element. One or more values from data.URI, separated by spaces.
flag.form(optional)Encodes the form of the flag using the values provided by the data.FLAGFORM.mensural datatype. Value conforms to data.FLAGFORM.mensural.
flag.pos(optional)Records the position of the flag using the values provided by the data.FLAGPOS.mensural datatype. Value conforms to data.FLAGPOS.mensural.
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.
form(optional)Encodes the form of the stem using the values provided by the data.STEMFORM.mensural datatype. Value conforms to data.STEMFORM.mensural.
glyph.auth(optional)A name or label associated with the controlled vocabulary from which the value of glyph.name or glyph.num is taken, or the textual content of the element. Allowed values are: "smufl" (Standard Music Font Layout.)
glyph.name(optional)Glyph name. Value is plain text.
glyph.num(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. Value conforms to data.HEXNUM.
glyph.uri(optional)The web-accessible location of the controlled vocabulary from which the value of glyph.name or glyph.num is taken, or the textual content of the element. 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.
len(optional)Encodes the stem length. Value conforms to data.MEASUREMENTUNSIGNED.
n(optional)Provides a number-like designation that indicates an element’s position in a sequence of similar elements. May not contain space characters. Value conforms to data.WORD.
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.
pos(optional)Records the position of the stem in relation to the note head(s). Value conforms to data.STEMPOSITION.
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.
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.
x(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. Value is a decimal number.
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.
y(optional)Encodes a 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. Value is a decimal number.
(MEI.shared) Attributes common to many elements.
(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) Attributes used to supply a number-like designation for an element.
n(optional)Provides a number-like designation that indicates an element’s position in a sequence of similar elements. May not contain space characters. Value conforms to data.WORD.
(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.facsimile) Attributes that associate a feature corresponding with all or part of an image.
facs(optional)Points to one or more images, portions of an image, or surfaces which correspond to the current element. One or more values from data.URI, separated by spaces.
(MEI.mensural) Logical domain attributes that describe the properties of a stem in the mensural repertoire.
(MEI.visual) Visual domain attributes that describe the properties of a stem in the mensural repertoire.
pos(optional)Records the position of the stem in relation to the note head(s). Value conforms to data.STEMPOSITION.
len(optional)Encodes the stem length. Value conforms to data.MEASUREMENTUNSIGNED.
form(optional)Encodes the form of the stem using the values provided by the data.STEMFORM.mensural datatype. Value conforms to data.STEMFORM.mensural.
dir(optional)Describes the direction of a stem. Value conforms to data.STEMDIRECTION.
flag.pos(optional)Records the position of the flag using the values provided by the data.FLAGPOS.mensural datatype. Value conforms to data.FLAGPOS.mensural.
flag.form(optional)Encodes the form of the flag using the values provided by the data.FLAGFORM.mensural datatype. Value conforms to data.FLAGFORM.mensural.
(MEI.shared) Output coordinate attributes. Some elements may have their exact rendered *output* coordinates recorded. x and y attributes indicate where to place the rendered output. Recording the coordinates of a feature in a facsimile requires the use of the facs attribute.
x(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. Value is a decimal number.
y(optional)Encodes a 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. Value is a decimal number.
(MEI.shared) Visual color attributes.
color(optional)Used to indicate visual appearance. Do not confuse this with the musical term 'color' as used in pre-CMN notation. Value conforms to data.COLOR.
(MEI.externalsymbols) Attributes used to associate MEI features with corresponding glyphs in an externally-defined standard such as SMuFL.
(MEI.externalsymbols) Attributes that point to an external symbol authority.
glyph.auth(optional)A name or label associated with the controlled vocabulary from which the value of glyph.name or glyph.num is taken, or the textual content of the element. Allowed values are: "smufl" (Standard Music Font Layout.)
glyph.uri(optional)The web-accessible location of the controlled vocabulary from which the value of glyph.name or glyph.num is taken, or the textual content of the element. Value conforms to data.URI.
(MEI.externalsymbols) Attributes that specify names or values taken from an external symbol authority.
glyph.name(optional)Glyph name. Value is plain text.
glyph.num(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. Value conforms to data.HEXNUM.
(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 that describe the properties of a stem in the mensural repertoire.
(MEI.analytical) Analytical domain attributes that describe the properties of a stem in the mensural repertoire.
External symbols component declarations.
glyph.auth(optional)A name or label associated with the controlled vocabulary from which the value of glyph.name or glyph.num is taken, or the textual content of the element. Allowed values are: "smufl" (Standard Music Font Layout.)
glyph.name(optional)Glyph name. Value is plain text.
glyph.num(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. Value conforms to data.HEXNUM.
glyph.uri(optional)The web-accessible location of the controlled vocabulary from which the value of glyph.name or glyph.num is taken, or the textual content of the element. Value conforms to data.URI.
Facsimile component declarations.
facs(optional)Points to one or more images, portions of an image, or surfaces which correspond to the current element. One or more values from data.URI, separated by spaces.
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.
color(optional)Used to indicate visual appearance. Do not confuse this with the musical term 'color' as used in pre-CMN notation. Value conforms to data.COLOR.
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.
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 number-like designation that indicates an element’s position in a sequence of similar elements. May not contain space characters. Value conforms to data.WORD.
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.
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.
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.
x(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. Value is a decimal number.
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.
y(optional)Encodes a 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. Value is a decimal number.
Visual component declarations.
dir(optional)Describes the direction of a stem. Value conforms to data.STEMDIRECTION.
flag.form(optional)Encodes the form of the flag using the values provided by the data.FLAGFORM.mensural datatype. Value conforms to data.FLAGFORM.mensural.
flag.pos(optional)Records the position of the flag using the values provided by the data.FLAGPOS.mensural datatype. Value conforms to data.FLAGPOS.mensural.
form(optional)Encodes the form of the stem using the values provided by the data.STEMFORM.mensural datatype. Value conforms to data.STEMFORM.mensural.
len(optional)Encodes the stem length. Value conforms to data.MEASUREMENTUNSIGNED.
pos(optional)Records the position of the stem in relation to the note head(s). Value conforms to data.STEMPOSITION.
Member of
(stem isn't member of any model class)
Contained By
noteA single pitched event.
Component declarations that are shared between two or more modules.
noteA single pitched event.
May Contain
(<stem> may not have child elements)
Remarks

Mensural notes can have multiple stems and these may have various forms, directions, and types of flags. Multiple stem elements can be encoded as children of a single note. The attributes pos, length, form, and dir allow to encode different positions, lengths, forms, and directions for each these stems. The attributes flag.pos and flag.form also allow to encode different types of flags for each of the stems.

Constraints

A note with nested stem elements must not have @stem.* attributes.

Declaration
<elementSpec ident="stem" module="MEI.mensural">
<desc xml:lang="en">A stem element.</desc>
<classes>
<memberOf key="att.common"/>
<memberOf key="att.facsimile"/>
<memberOf key="att.stem.log"/>
<memberOf key="att.stem.vis"/>
<memberOf key="att.stem.ges"/>
<memberOf key="att.stem.anl"/>
</classes>
<content>
<rng:empty/>
</content>
<constraintSpec ident="Check_stem" scheme="schematron">
<constraint>
<sch:rule context="mei:stem">
<sch:assert test="not(ancestor::mei:note/@*[starts-with(local-name(),'stem.')])">A note with nested stem elements must not have @stem.* attributes.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
<remarks xml:lang="en">
<p>Mensural notes can have multiple stems and these may have various forms, directions, and types of flags. Multiple stem elements can be encoded as children of a single note. The attributes <att>pos</att>, <att>length</att>, <att>form</att>, and <att>dir</att> allow to encode different positions, lengths, forms, and directions for each these stems. The attributes <att>flag.pos</att> and <att>flag.form</att> also allow to encode different types of flags for each of the stems.</p>
</remarks>
</elementSpec>