The <metronome-beam> element

Parent element: <metronome-note>

The <metronome-beam> element works like the <beam> element in defining metric relationships, but does not include all the attributes available in the <beam> element.

https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/metronome-beam/

Hierarchy

  • MetronomeBeam

Implements

Constructors

Properties

schema: {
    attributes: {
        number: {
            type: "optional";
            value: {
                max: 8;
                min: 1;
                type: "int";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: {
            label: "beam-value";
            type: "label";
            value: {
                choices: readonly ["backward hook", "begin", "continue", "end", "forward hook"];
                type: "choices";
            };
        };
    }];
    name: "metronome-beam";
} = MetronomeBeam.schema

Type declaration

  • Readonly attributes: {
        number: {
            type: "optional";
            value: {
                max: 8;
                min: 1;
                type: "int";
            };
        };
    }
    • Readonly number: {
          type: "optional";
          value: {
              max: 8;
              min: 1;
              type: "int";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            max: 8;
            min: 1;
            type: "int";
        }
        • Readonly max: 8
        • Readonly min: 1
        • Readonly type: "int"
  • Readonly contents: readonly [{
        type: "required";
        value: {
            label: "beam-value";
            type: "label";
            value: {
                choices: readonly ["backward hook", "begin", "continue", "end", "forward hook"];
                type: "choices";
            };
        };
    }]
  • Readonly name: "metronome-beam"
schema: {
    attributes: {
        number: {
            type: "optional";
            value: {
                max: 8;
                min: 1;
                type: "int";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: {
            label: "beam-value";
            type: "label";
            value: {
                choices: readonly ["backward hook", "begin", "continue", "end", "forward hook"];
                type: "choices";
            };
        };
    }];
    name: "metronome-beam";
} = ...

Type declaration

  • Readonly attributes: {
        number: {
            type: "optional";
            value: {
                max: 8;
                min: 1;
                type: "int";
            };
        };
    }
    • Readonly number: {
          type: "optional";
          value: {
              max: 8;
              min: 1;
              type: "int";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            max: 8;
            min: 1;
            type: "int";
        }
        • Readonly max: 8
        • Readonly min: 1
        • Readonly type: "int"
  • Readonly contents: readonly [{
        type: "required";
        value: {
            label: "beam-value";
            type: "label";
            value: {
                choices: readonly ["backward hook", "begin", "continue", "end", "forward hook"];
                type: "choices";
            };
        };
    }]
  • Readonly name: "metronome-beam"

Methods

  • Gets

    Returns "backward hook" | "begin" | "continue" | "end" | "forward hook"

Generated using TypeDoc