The <slash-type> element

Parent elements: <beat-repeat>, <slash>

The <slash-type> element indicates the graphical note type to use for the display of repetition marks.

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

Hierarchy

  • SlashType

Implements

Constructors

Properties

schema: {
    attributes: {};
    contents: readonly [{
        type: "required";
        value: {
            label: "note-type-value";
            type: "label";
            value: {
                choices: readonly ["whole", "1024th", "512th", "256th", "128th", "64th", "32nd", "16th", "eighth", "half", "quarter", "whole", "breve", "long", "maxima"];
                type: "choices";
            };
        };
    }];
    name: "slash-type";
} = SlashType.schema

Type declaration

  • Readonly attributes: {}
    • Readonly contents: readonly [{
          type: "required";
          value: {
              label: "note-type-value";
              type: "label";
              value: {
                  choices: readonly ["whole", "1024th", "512th", "256th", "128th", "64th", "32nd", "16th", "eighth", "half", "quarter", "whole", "breve", "long", "maxima"];
                  type: "choices";
              };
          };
      }]
    • Readonly name: "slash-type"
    schema: {
        attributes: {};
        contents: readonly [{
            type: "required";
            value: {
                label: "note-type-value";
                type: "label";
                value: {
                    choices: readonly ["whole", "1024th", "512th", "256th", "128th", "64th", "32nd", "16th", "eighth", "half", "quarter", "whole", "breve", "long", "maxima"];
                    type: "choices";
                };
            };
        }];
        name: "slash-type";
    } = ...

    Type declaration

    • Readonly attributes: {}
      • Readonly contents: readonly [{
            type: "required";
            value: {
                label: "note-type-value";
                type: "label";
                value: {
                    choices: readonly ["whole", "1024th", "512th", "256th", "128th", "64th", "32nd", "16th", "eighth", "half", "quarter", "whole", "breve", "long", "maxima"];
                    type: "choices";
                };
            };
        }]
      • Readonly name: "slash-type"

      Methods

      • Gets

        Returns "whole" | "1024th" | "512th" | "256th" | "128th" | "64th" | "32nd" | "16th" | "eighth" | "half" | "quarter" | "breve" | "long" | "maxima"

      • Sets

        Parameters

        • noteTypeValue: "whole" | "1024th" | "512th" | "256th" | "128th" | "64th" | "32nd" | "16th" | "eighth" | "half" | "quarter" | "breve" | "long" | "maxima"

        Returns SlashType

      Generated using TypeDoc