The <wood> element

Parent element: <percussion>

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

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

Hierarchy

  • Wood

Implements

Constructors

Properties

attributes: WoodAttributes
contents: WoodContents
schema: {
    attributes: {
        smufl: {
            type: "optional";
            value: {
                pattern: RegExp;
                type: "regex";
                zero: "pict";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: {
            label: "wood-value";
            type: "label";
            value: {
                choices: readonly ["bamboo scraper", "board clapper", "cabasa", "castanets", "castanets with handle", "claves", "footbal rattle", "guiro", "log drum", "maraca", "maracas", "quijada", "rainstick", "ratchet", "reco-reco", "sandpaper blocks", "slit drum", "temple block", "vibraslap", "whip", "wood block"];
                type: "choices";
            };
        };
    }];
    name: "wood";
} = Wood.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: "wood-value";
            type: "label";
            value: {
                choices: readonly ["bamboo scraper", "board clapper", "cabasa", "castanets", "castanets with handle", "claves", "footbal rattle", "guiro", "log drum", "maraca", "maracas", "quijada", "rainstick", "ratchet", "reco-reco", "sandpaper blocks", "slit drum", "temple block", "vibraslap", "whip", "wood block"];
                type: "choices";
            };
        };
    }]
  • Readonly name: "wood"
schema: {
    attributes: {
        smufl: {
            type: "optional";
            value: {
                pattern: RegExp;
                type: "regex";
                zero: "pict";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: {
            label: "wood-value";
            type: "label";
            value: {
                choices: readonly ["bamboo scraper", "board clapper", "cabasa", "castanets", "castanets with handle", "claves", "footbal rattle", "guiro", "log drum", "maraca", "maracas", "quijada", "rainstick", "ratchet", "reco-reco", "sandpaper blocks", "slit drum", "temple block", "vibraslap", "whip", "wood block"];
                type: "choices";
            };
        };
    }];
    name: "wood";
} = ...

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: "wood-value";
            type: "label";
            value: {
                choices: readonly ["bamboo scraper", "board clapper", "cabasa", "castanets", "castanets with handle", "claves", "footbal rattle", "guiro", "log drum", "maraca", "maracas", "quijada", "rainstick", "ratchet", "reco-reco", "sandpaper blocks", "slit drum", "temple block", "vibraslap", "whip", "wood block"];
                type: "choices";
            };
        };
    }]
  • Readonly name: "wood"

Methods

  • Gets

    Returns "bamboo scraper" | "board clapper" | "cabasa" | "castanets" | "castanets with handle" | "claves" | "footbal rattle" | "guiro" | "log drum" | "maraca" | "maracas" | "quijada" | "rainstick" | "ratchet" | "reco-reco" | "sandpaper blocks" | "slit drum" | "temple block" | "vibraslap" | "whip" | "wood block"

  • Sets

    Parameters

    • woodValue: "bamboo scraper" | "board clapper" | "cabasa" | "castanets" | "castanets with handle" | "claves" | "footbal rattle" | "guiro" | "log drum" | "maraca" | "maracas" | "quijada" | "rainstick" | "ratchet" | "reco-reco" | "sandpaper blocks" | "slit drum" | "temple block" | "vibraslap" | "whip" | "wood block"

    Returns Wood

Generated using TypeDoc