The <beater> element

Parent element: <percussion>

The <beater> element represents pictograms for beaters, mallets, and sticks that do not have different materials represented in the pictogram.

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

Hierarchy

  • Beater

Implements

Constructors

Properties

attributes: BeaterAttributes
contents: BeaterContents
schema: {
    attributes: {
        tip: {
            type: "optional";
            value: {
                choices: readonly ["down", "left", "northeast", "northwest", "right", "southeast", "southwest", "up"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: {
            label: "beater-value";
            type: "label";
            value: {
                choices: readonly ["bow", "chime hammer", "coin", "drum stick", "finger", "fingernail", "fist", "guiro scraper", "hammer", "hand", "jazz stick", "knitting needle", "metal hammer", "slide brush on gong", "snare stick", "spoon mallet", "superball", "triangle beater", "triangle beater plain", "wire brush"];
                type: "choices";
            };
        };
    }];
    name: "beater";
} = Beater.schema

Type declaration

  • Readonly attributes: {
        tip: {
            type: "optional";
            value: {
                choices: readonly ["down", "left", "northeast", "northwest", "right", "southeast", "southwest", "up"];
                type: "choices";
            };
        };
    }
    • Readonly tip: {
          type: "optional";
          value: {
              choices: readonly ["down", "left", "northeast", "northwest", "right", "southeast", "southwest", "up"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["down", "left", "northeast", "northwest", "right", "southeast", "southwest", "up"];
            type: "choices";
        }
        • Readonly choices: readonly ["down", "left", "northeast", "northwest", "right", "southeast", "southwest", "up"]
        • Readonly type: "choices"
  • Readonly contents: readonly [{
        type: "required";
        value: {
            label: "beater-value";
            type: "label";
            value: {
                choices: readonly ["bow", "chime hammer", "coin", "drum stick", "finger", "fingernail", "fist", "guiro scraper", "hammer", "hand", "jazz stick", "knitting needle", "metal hammer", "slide brush on gong", "snare stick", "spoon mallet", "superball", "triangle beater", "triangle beater plain", "wire brush"];
                type: "choices";
            };
        };
    }]
  • Readonly name: "beater"
schema: {
    attributes: {
        tip: {
            type: "optional";
            value: {
                choices: readonly ["down", "left", "northeast", "northwest", "right", "southeast", "southwest", "up"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: {
            label: "beater-value";
            type: "label";
            value: {
                choices: readonly ["bow", "chime hammer", "coin", "drum stick", "finger", "fingernail", "fist", "guiro scraper", "hammer", "hand", "jazz stick", "knitting needle", "metal hammer", "slide brush on gong", "snare stick", "spoon mallet", "superball", "triangle beater", "triangle beater plain", "wire brush"];
                type: "choices";
            };
        };
    }];
    name: "beater";
} = ...

Type declaration

  • Readonly attributes: {
        tip: {
            type: "optional";
            value: {
                choices: readonly ["down", "left", "northeast", "northwest", "right", "southeast", "southwest", "up"];
                type: "choices";
            };
        };
    }
    • Readonly tip: {
          type: "optional";
          value: {
              choices: readonly ["down", "left", "northeast", "northwest", "right", "southeast", "southwest", "up"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["down", "left", "northeast", "northwest", "right", "southeast", "southwest", "up"];
            type: "choices";
        }
        • Readonly choices: readonly ["down", "left", "northeast", "northwest", "right", "southeast", "southwest", "up"]
        • Readonly type: "choices"
  • Readonly contents: readonly [{
        type: "required";
        value: {
            label: "beater-value";
            type: "label";
            value: {
                choices: readonly ["bow", "chime hammer", "coin", "drum stick", "finger", "fingernail", "fist", "guiro scraper", "hammer", "hand", "jazz stick", "knitting needle", "metal hammer", "slide brush on gong", "snare stick", "spoon mallet", "superball", "triangle beater", "triangle beater plain", "wire brush"];
                type: "choices";
            };
        };
    }]
  • Readonly name: "beater"

Methods

  • Gets

    Returns "hand" | "bow" | "chime hammer" | "coin" | "drum stick" | "finger" | "fingernail" | "fist" | "guiro scraper" | "hammer" | "jazz stick" | "knitting needle" | "metal hammer" | "slide brush on gong" | "snare stick" | "spoon mallet" | "superball" | "triangle beater" | "triangle beater plain" | "wire brush"

  • Gets

    Returns null | "left" | "right" | "down" | "up" | "northeast" | "northwest" | "southeast" | "southwest"

  • Sets

    Parameters

    • beaterValue: "hand" | "bow" | "chime hammer" | "coin" | "drum stick" | "finger" | "fingernail" | "fist" | "guiro scraper" | "hammer" | "jazz stick" | "knitting needle" | "metal hammer" | "slide brush on gong" | "snare stick" | "spoon mallet" | "superball" | "triangle beater" | "triangle beater plain" | "wire brush"

    Returns Beater

Generated using TypeDoc