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

The <direction> element

Parent elements: <measure> (partwise)<part> (timewise)

A direction is a musical indication that is not necessarily attached to a specific note. Two or more may be combined to indicate words followed by the start of a dashed line, the end of a wedge followed by dynamics, etc. For applications where a specific direction is indeed attached to a specific note, the direction element can be associated with the first note element that follows it in score order that is not in a different voice.

By default, a series of direction-type elements and a series of child elements of a direction-type within a single direction element follow one another in sequence visually. For a series of direction-type children, non-positional formatting attributes are carried over from the previous element by default.

Content

In this order

Attributes

Name Type Required? Description
directive yes-no No
id xs:ID No
placement above-below No
system system-relation No

Examples

This element is used in the following examples:

<accordion-registration><attributes><bookmark><bracket><coda><damp-all><damp><dashes><double><effect><f><ff><fff><ffff><fffff><ffffff><footnote><forward><glass><grouping><humming><image><instrument-change><link><measure-distance><membrane><metal><metronome-note><metronome><mf><mp><n><octave-shift><p><pan> and <elevation><pedal> (Lines)<pedal> (Symbols)<per-minute><pf><pitched><pp><ppp><pppp><ppppp><pppppp><principal-voice><rehearsal><segno><sfzp><staff-divide><stick-location><straight><string-mute> (Off)<string-mute> (On)<swing><sync><timpani><wait><wedge><with-bar><wood>system attribute (also-top)system attribute (only-top)Tutorial: Après un rêveTutorial: Chopin Prelude