The <direction-type> element

Parent element: <direction>

Textual direction types may have more than 1 component due to multiple fonts. The <dynamics> element may also be used in the <notations> element. Child element attributes related to print suggestions apply to the individual <direction-type>, not to the overall <direction>.

https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/direction-type/

Hierarchy

  • DirectionType

Implements

Constructors

Properties

schema: {
    attributes: {
        id: {
            type: "optional";
            value: {
                pattern: RegExp;
                type: "regex";
                zero: "_";
            };
        };
    };
    contents: readonly [{
        label: "direction-type";
        type: "label";
        value: {
            choices: readonly [{
                label: "rehearsals";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: typeof Rehearsal;
                };
            }, {
                label: "segnos";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: typeof Segno;
                };
            }, {
                label: "codas";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: typeof Coda;
                };
            }, {
                label: "tokens";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: {
                        choices: readonly [typeof Words, typeof Symbol];
                        type: "choices";
                    };
                };
            }, typeof Wedge, {
                label: "dynamics-list";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: typeof Dynamics;
                };
            }, typeof Dashes, typeof Bracket, typeof Pedal, typeof Metronome, typeof OctaveShift, typeof HarpPedals, typeof Damp, typeof DampAll, typeof Eyeglasses, typeof StringMute, typeof Scordatura, typeof Image, typeof PrincipalVoice, {
                label: "percussions";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: typeof Percussion;
                };
            }, typeof AccordionRegistration, typeof StaffDivide, typeof OtherDirection];
            type: "choices";
        };
    }];
    name: "direction-type";
} = DirectionType.schema

Type declaration

  • Readonly attributes: {
        id: {
            type: "optional";
            value: {
                pattern: RegExp;
                type: "regex";
                zero: "_";
            };
        };
    }
    • Readonly id: {
          type: "optional";
          value: {
              pattern: RegExp;
              type: "regex";
              zero: "_";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            pattern: RegExp;
            type: "regex";
            zero: "_";
        }
        • Readonly pattern: RegExp
        • Readonly type: "regex"
        • Readonly zero: "_"
  • Readonly contents: readonly [{
        label: "direction-type";
        type: "label";
        value: {
            choices: readonly [{
                label: "rehearsals";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: typeof Rehearsal;
                };
            }, {
                label: "segnos";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: typeof Segno;
                };
            }, {
                label: "codas";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: typeof Coda;
                };
            }, {
                label: "tokens";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: {
                        choices: readonly [typeof Words, typeof Symbol];
                        type: "choices";
                    };
                };
            }, typeof Wedge, {
                label: "dynamics-list";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: typeof Dynamics;
                };
            }, typeof Dashes, typeof Bracket, typeof Pedal, typeof Metronome, typeof OctaveShift, typeof HarpPedals, typeof Damp, typeof DampAll, typeof Eyeglasses, typeof StringMute, typeof Scordatura, typeof Image, typeof PrincipalVoice, {
                label: "percussions";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: typeof Percussion;
                };
            }, typeof AccordionRegistration, typeof StaffDivide, typeof OtherDirection];
            type: "choices";
        };
    }]
  • Readonly name: "direction-type"
schema: {
    attributes: {
        id: {
            type: "optional";
            value: {
                pattern: RegExp;
                type: "regex";
                zero: "_";
            };
        };
    };
    contents: readonly [{
        label: "direction-type";
        type: "label";
        value: {
            choices: readonly [{
                label: "rehearsals";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: typeof Rehearsal;
                };
            }, {
                label: "segnos";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: typeof Segno;
                };
            }, {
                label: "codas";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: typeof Coda;
                };
            }, {
                label: "tokens";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: {
                        choices: readonly [typeof Words, typeof Symbol];
                        type: "choices";
                    };
                };
            }, typeof Wedge, {
                label: "dynamics-list";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: typeof Dynamics;
                };
            }, typeof Dashes, typeof Bracket, typeof Pedal, typeof Metronome, typeof OctaveShift, typeof HarpPedals, typeof Damp, typeof DampAll, typeof Eyeglasses, typeof StringMute, typeof Scordatura, typeof Image, typeof PrincipalVoice, {
                label: "percussions";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: typeof Percussion;
                };
            }, typeof AccordionRegistration, typeof StaffDivide, typeof OtherDirection];
            type: "choices";
        };
    }];
    name: "direction-type";
} = ...

Type declaration

  • Readonly attributes: {
        id: {
            type: "optional";
            value: {
                pattern: RegExp;
                type: "regex";
                zero: "_";
            };
        };
    }
    • Readonly id: {
          type: "optional";
          value: {
              pattern: RegExp;
              type: "regex";
              zero: "_";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            pattern: RegExp;
            type: "regex";
            zero: "_";
        }
        • Readonly pattern: RegExp
        • Readonly type: "regex"
        • Readonly zero: "_"
  • Readonly contents: readonly [{
        label: "direction-type";
        type: "label";
        value: {
            choices: readonly [{
                label: "rehearsals";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: typeof Rehearsal;
                };
            }, {
                label: "segnos";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: typeof Segno;
                };
            }, {
                label: "codas";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: typeof Coda;
                };
            }, {
                label: "tokens";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: {
                        choices: readonly [typeof Words, typeof Symbol];
                        type: "choices";
                    };
                };
            }, typeof Wedge, {
                label: "dynamics-list";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: typeof Dynamics;
                };
            }, typeof Dashes, typeof Bracket, typeof Pedal, typeof Metronome, typeof OctaveShift, typeof HarpPedals, typeof Damp, typeof DampAll, typeof Eyeglasses, typeof StringMute, typeof Scordatura, typeof Image, typeof PrincipalVoice, {
                label: "percussions";
                type: "label";
                value: {
                    type: "oneOrMore";
                    value: typeof Percussion;
                };
            }, typeof AccordionRegistration, typeof StaffDivide, typeof OtherDirection];
            type: "choices";
        };
    }]
  • Readonly name: "direction-type"

Methods

Generated using TypeDoc