Optional opts: { Optional attributes?: Partial<DynamicsAttributes>Optional contents?: DynamicsContentsReadonly schemaReadonly attributes: { Readonly color: { Readonly type: "optional"Readonly value: { Readonly pattern: RegExpReadonly type: "regex"Readonly zero: "#000000"Readonly default-Readonly label: "default-x"Readonly type: "label"Readonly value: { Readonly type: "optional"Readonly value: { Readonly max: numberReadonly min: numberReadonly type: "float"Readonly default-Readonly label: "default-y"Readonly type: "label"Readonly value: { Readonly type: "optional"Readonly value: { Readonly max: numberReadonly min: numberReadonly type: "float"Readonly enclosure: { Readonly type: "optional"Readonly value: { Readonly choices: readonly ["none", "rectangle", "square", "oval", "circle", "bracket", "inverted-bracket", "triangle", "diamond", "pentagon", "hexagon", "heptagon", "octagon", "nonagon", "decagon"]Readonly type: "choices"Readonly font-Readonly type: "optional"Readonly value: { Readonly pattern: RegExpReadonly type: "regex"Readonly zero: " "Readonly font-Readonly type: "optional"Readonly value: { Readonly choices: readonly [{ Readonly type: "choices"Readonly font-Readonly type: "optional"Readonly value: { Readonly choices: readonly ["normal", "italic"]Readonly type: "choices"Readonly font-Readonly type: "optional"Readonly value: { Readonly choices: readonly ["normal", "bold"]Readonly type: "choices"Readonly halign: { Readonly type: "optional"Readonly value: { Readonly choices: readonly ["left", "center", "right"]Readonly type: "choices"Readonly id: { Readonly type: "optional"Readonly value: { Readonly pattern: RegExpReadonly type: "regex"Readonly zero: "_"Readonly line-Readonly type: "optional"Readonly value: { Readonly max: 3Readonly min: 0Readonly type: "int"Readonly overline: { Readonly type: "optional"Readonly value: { Readonly max: 3Readonly min: 0Readonly type: "int"Readonly placement: { Readonly type: "optional"Readonly value: { Readonly choices: readonly ["above", "below"]Readonly type: "choices"Readonly relative-Readonly label: "relative-x"Readonly type: "label"Readonly value: { Readonly type: "optional"Readonly value: { Readonly max: numberReadonly min: numberReadonly type: "float"Readonly relative-Readonly label: "relative-y"Readonly type: "label"Readonly value: { Readonly type: "optional"Readonly value: { Readonly max: numberReadonly min: numberReadonly type: "float"Readonly underline: { Readonly type: "optional"Readonly value: { Readonly max: 3Readonly min: 0Readonly type: "int"Readonly valign: { Readonly type: "optional"Readonly value: { Readonly choices: readonly ["top", "middle", "bottom", "baseline"]Readonly type: "choices"Readonly contents: readonly [{ Readonly name: "dynamics"Static Readonly schemaReadonly attributes: { Readonly color: { Readonly type: "optional"Readonly value: { Readonly pattern: RegExpReadonly type: "regex"Readonly zero: "#000000"Readonly default-Readonly label: "default-x"Readonly type: "label"Readonly value: { Readonly type: "optional"Readonly value: { Readonly max: numberReadonly min: numberReadonly type: "float"Readonly default-Readonly label: "default-y"Readonly type: "label"Readonly value: { Readonly type: "optional"Readonly value: { Readonly max: numberReadonly min: numberReadonly type: "float"Readonly enclosure: { Readonly type: "optional"Readonly value: { Readonly choices: readonly ["none", "rectangle", "square", "oval", "circle", "bracket", "inverted-bracket", "triangle", "diamond", "pentagon", "hexagon", "heptagon", "octagon", "nonagon", "decagon"]Readonly type: "choices"Readonly font-Readonly type: "optional"Readonly value: { Readonly pattern: RegExpReadonly type: "regex"Readonly zero: " "Readonly font-Readonly type: "optional"Readonly value: { Readonly choices: readonly [{ Readonly type: "choices"Readonly font-Readonly type: "optional"Readonly value: { Readonly choices: readonly ["normal", "italic"]Readonly type: "choices"Readonly font-Readonly type: "optional"Readonly value: { Readonly choices: readonly ["normal", "bold"]Readonly type: "choices"Readonly halign: { Readonly type: "optional"Readonly value: { Readonly choices: readonly ["left", "center", "right"]Readonly type: "choices"Readonly id: { Readonly type: "optional"Readonly value: { Readonly pattern: RegExpReadonly type: "regex"Readonly zero: "_"Readonly line-Readonly type: "optional"Readonly value: { Readonly max: 3Readonly min: 0Readonly type: "int"Readonly overline: { Readonly type: "optional"Readonly value: { Readonly max: 3Readonly min: 0Readonly type: "int"Readonly placement: { Readonly type: "optional"Readonly value: { Readonly choices: readonly ["above", "below"]Readonly type: "choices"Readonly relative-Readonly label: "relative-x"Readonly type: "label"Readonly value: { Readonly type: "optional"Readonly value: { Readonly max: numberReadonly min: numberReadonly type: "float"Readonly relative-Readonly label: "relative-y"Readonly type: "label"Readonly value: { Readonly type: "optional"Readonly value: { Readonly max: numberReadonly min: numberReadonly type: "float"Readonly underline: { Readonly type: "optional"Readonly value: { Readonly max: 3Readonly min: 0Readonly type: "int"Readonly valign: { Readonly type: "optional"Readonly value: { Readonly choices: readonly ["top", "middle", "bottom", "baseline"]Readonly type: "choices"Readonly contents: readonly [{ Readonly name: "dynamics"Gets
Gets
Generated using TypeDoc
The
<dynamics>elementParent elements:
<direction-type>,<notations>Dynamics can be associated either with a note or a general musical direction. To avoid inconsistencies between and amongst the letter abbreviations for dynamics (what is sf vs. sfz, standing alone or with a trailing dynamic that is not always piano), we use the actual letters as the names of these dynamic elements. The
<other-dynamics>element allows other dynamic marks that are not covered here. Dynamics elements may also be combined to create marks not covered by a single element, such as<sf/>``<mp/>.These letter dynamic symbols are separated from crescendo, decrescendo, and wedge indications. Dynamic representation is inconsistent in scores. Many things are assumed by the composer and left out, such as returns to original dynamics. The MusicXML format captures what is in the score, but does not try to be optimal for analysis or synthesis of dynamics.
The placement attribute is used when the dynamics are associated with a
<note>. It is ignored when the dynamics are associated with a<direction>. In that case the<direction>element's placement attribute is used instead.https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/dynamics/