Optional opts: { Optional attributes?: Partial<DirectionAttributes>Optional contents?: DirectionContentsReadonly schemaReadonly attributes: { Readonly directive: { Readonly type: "optional"Readonly value: { Readonly choices: readonly ["yes", "no"]Readonly type: "choices"Readonly id: { Readonly type: "optional"Readonly value: { Readonly pattern: RegExpReadonly type: "regex"Readonly zero: "_"Readonly placement: { Readonly type: "optional"Readonly value: { Readonly choices: readonly ["above", "below"]Readonly type: "choices"Readonly system: { Readonly type: "optional"Readonly value: { Readonly choices: readonly ["none", "only-top", "also-top"]Readonly type: "choices"Readonly contents: readonly [{ Readonly name: "direction"Static Readonly schemaReadonly attributes: { Readonly directive: { Readonly type: "optional"Readonly value: { Readonly choices: readonly ["yes", "no"]Readonly type: "choices"Readonly id: { Readonly type: "optional"Readonly value: { Readonly pattern: RegExpReadonly type: "regex"Readonly zero: "_"Readonly placement: { Readonly type: "optional"Readonly value: { Readonly choices: readonly ["above", "below"]Readonly type: "choices"Readonly system: { Readonly type: "optional"Readonly value: { Readonly choices: readonly ["none", "only-top", "also-top"]Readonly type: "choices"Readonly contents: readonly [{ Readonly name: "direction"Gets
Sets
Generated using TypeDoc
The
<direction>elementParent 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.https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/direction/