The <metal> element

Parent element: <percussion>

The <metal> element represents pictograms for metal percussion instruments.

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

Hierarchy

  • Metal

Implements

Constructors

Properties

attributes: MetalAttributes
contents: MetalContents
schema: {
    attributes: {
        smufl: {
            type: "optional";
            value: {
                pattern: RegExp;
                type: "regex";
                zero: "pict";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: {
            label: "metal-value";
            type: "label";
            value: {
                choices: readonly ["agogo", "almglocken", "bell", "bell plate", "bell tree", "brake drum", "cencerro", "chain rattle", "Chinese cymbal", "cowbell", "crash cymbals", "crotale", "cymbal tongs", "domed gong", "finger cymbals", "flexatone", "gong", "handbell", "hi-hat", "high-hat cymbals", "jaw harp", "jingle bells", "musical saw", "shell bells", "sistrum", "sizzle cymbal", "sleigh bells", "suspended cymbal", "tam tam", "tam tam with beater", "triangle", "Vietnamese hat"];
                type: "choices";
            };
        };
    }];
    name: "metal";
} = Metal.schema

Type declaration

  • Readonly attributes: {
        smufl: {
            type: "optional";
            value: {
                pattern: RegExp;
                type: "regex";
                zero: "pict";
            };
        };
    }
    • Readonly smufl: {
          type: "optional";
          value: {
              pattern: RegExp;
              type: "regex";
              zero: "pict";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            pattern: RegExp;
            type: "regex";
            zero: "pict";
        }
        • Readonly pattern: RegExp
        • Readonly type: "regex"
        • Readonly zero: "pict"
  • Readonly contents: readonly [{
        type: "required";
        value: {
            label: "metal-value";
            type: "label";
            value: {
                choices: readonly ["agogo", "almglocken", "bell", "bell plate", "bell tree", "brake drum", "cencerro", "chain rattle", "Chinese cymbal", "cowbell", "crash cymbals", "crotale", "cymbal tongs", "domed gong", "finger cymbals", "flexatone", "gong", "handbell", "hi-hat", "high-hat cymbals", "jaw harp", "jingle bells", "musical saw", "shell bells", "sistrum", "sizzle cymbal", "sleigh bells", "suspended cymbal", "tam tam", "tam tam with beater", "triangle", "Vietnamese hat"];
                type: "choices";
            };
        };
    }]
  • Readonly name: "metal"
schema: {
    attributes: {
        smufl: {
            type: "optional";
            value: {
                pattern: RegExp;
                type: "regex";
                zero: "pict";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: {
            label: "metal-value";
            type: "label";
            value: {
                choices: readonly ["agogo", "almglocken", "bell", "bell plate", "bell tree", "brake drum", "cencerro", "chain rattle", "Chinese cymbal", "cowbell", "crash cymbals", "crotale", "cymbal tongs", "domed gong", "finger cymbals", "flexatone", "gong", "handbell", "hi-hat", "high-hat cymbals", "jaw harp", "jingle bells", "musical saw", "shell bells", "sistrum", "sizzle cymbal", "sleigh bells", "suspended cymbal", "tam tam", "tam tam with beater", "triangle", "Vietnamese hat"];
                type: "choices";
            };
        };
    }];
    name: "metal";
} = ...

Type declaration

  • Readonly attributes: {
        smufl: {
            type: "optional";
            value: {
                pattern: RegExp;
                type: "regex";
                zero: "pict";
            };
        };
    }
    • Readonly smufl: {
          type: "optional";
          value: {
              pattern: RegExp;
              type: "regex";
              zero: "pict";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            pattern: RegExp;
            type: "regex";
            zero: "pict";
        }
        • Readonly pattern: RegExp
        • Readonly type: "regex"
        • Readonly zero: "pict"
  • Readonly contents: readonly [{
        type: "required";
        value: {
            label: "metal-value";
            type: "label";
            value: {
                choices: readonly ["agogo", "almglocken", "bell", "bell plate", "bell tree", "brake drum", "cencerro", "chain rattle", "Chinese cymbal", "cowbell", "crash cymbals", "crotale", "cymbal tongs", "domed gong", "finger cymbals", "flexatone", "gong", "handbell", "hi-hat", "high-hat cymbals", "jaw harp", "jingle bells", "musical saw", "shell bells", "sistrum", "sizzle cymbal", "sleigh bells", "suspended cymbal", "tam tam", "tam tam with beater", "triangle", "Vietnamese hat"];
                type: "choices";
            };
        };
    }]
  • Readonly name: "metal"

Methods

  • Gets

    Returns "triangle" | "handbell" | "agogo" | "almglocken" | "bell" | "bell plate" | "bell tree" | "brake drum" | "cencerro" | "chain rattle" | "Chinese cymbal" | "cowbell" | "crash cymbals" | "crotale" | "cymbal tongs" | "domed gong" | "finger cymbals" | "flexatone" | "gong" | "hi-hat" | "high-hat cymbals" | "jaw harp" | "jingle bells" | "musical saw" | "shell bells" | "sistrum" | "sizzle cymbal" | "sleigh bells" | "suspended cymbal" | "tam tam" | "tam tam with beater" | "Vietnamese hat"

  • Sets

    Parameters

    • metalValue: "triangle" | "handbell" | "agogo" | "almglocken" | "bell" | "bell plate" | "bell tree" | "brake drum" | "cencerro" | "chain rattle" | "Chinese cymbal" | "cowbell" | "crash cymbals" | "crotale" | "cymbal tongs" | "domed gong" | "finger cymbals" | "flexatone" | "gong" | "hi-hat" | "high-hat cymbals" | "jaw harp" | "jingle bells" | "musical saw" | "shell bells" | "sistrum" | "sizzle cymbal" | "sleigh bells" | "suspended cymbal" | "tam tam" | "tam tam with beater" | "Vietnamese hat"

    Returns Metal

Generated using TypeDoc