MusicXML 4.1 Draft
MusicXML 4.1 Draft > MusicXML Reference > Elements > The <stem> element

The <stem> element

Parent element: <note>

Stems can be down, up, none, or double. For down and up stems, the position attributes can be used to specify stem length. The relative values specify the end of the stem relative to the program default. Default values specify an absolute end stem position. Negative values of relative-y that would flip a stem instead of shortening it are ignored. A stem element associated with a rest refers to a stemlet.

Content

stem-value

Attributes

Name Type Required? Description
color color No
default-x tenths No
default-y tenths No
relative-x tenths No
relative-y tenths No

Examples

This element is used in the following examples:

<accent><accidental-mark> (Notation)<accidental-mark> (Ornament)<accidental><alter> (Semitones)<artificial><backup><barline><beam><beat-repeat><bracket><chord> (Multiple Stop)<cue><damp-all><damp><dot><double><end-line><end-paragraph><ending><except-voice><extend> (Figured Bass)<extend> (Lyric)<forward><glissando> (Multiple)<glissando> (Single)<grace><grace> (Appoggiatura)<grouping><ipa><level><lyric><measure-distance><normal-dot><octave><pedal> (Lines)<pedal> (Symbols)<pitch><plop><pluck><pre-bend><principal-voice><release><schleifer><slide><slur><staff><step><stopped><strong-accent><syllabic><sync><tap><technical> (Tablature)<tied><time-modification><tremolo> (Double)<tremolo> (Single)<tuplet-dot><tuplet> (Nested)<tuplet> (Regular)<turn><unpitched><voice><wavy-line><wedge><with-bar>Tutorial: Après un rêveTutorial: Chopin PreludeTutorial: Chord SymbolsTutorial: PercussionTutorial: Tablature