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
- <direction-type> (One or more times)
- <offset> (Optional)
-
In this order
- <footnote> (Optional)
- <level> (Optional)
- <voice> (Optional)
- <staff> (Optional)
- <sound> (Optional)
- <listening> (Optional)
Attributes
Name | Type | Required? | Description |
---|---|---|---|
directive | yes-no | No | Changes the default-x position of a direction. It indicates that the left-hand side of the direction is aligned with the left-hand side of the time signature. If no time signature is present, the direction is aligned with the left-hand side of the first music notational element in the measure. If a default-x, justify, or halign attribute is present, it overrides this attribute. |
id | ID | No | Specifies an ID that is unique to the entire document. |
placement | above-below | No | Indicates whether something is above or below another element, such as a note or a notation. |
system | system-relation | No | Distinguishes elements that are associated with a system rather than the particular part where the element appears. |
Examples
This element is used in the following examples: