The <beat-unit> element

Parent elements: <beat-unit-tied>, <metronome>

The <beat-unit> element indicates the graphical note type to use in a metronome mark.

https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/beat-unit/

Hierarchy

  • BeatUnit

Implements

Constructors

Properties

attributes: BeatUnitAttributes
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: "beat-unit";
} = BeatUnit.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: "beat-unit"
    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: "beat-unit";
    } = ...

    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: "beat-unit"

      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 BeatUnit

      Generated using TypeDoc