The <membrane> element

Parent element: <percussion>

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

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

Hierarchy

  • Membrane

Implements

Constructors

Properties

attributes: MembraneAttributes
schema: {
    attributes: {
        smufl: {
            type: "optional";
            value: {
                pattern: RegExp;
                type: "regex";
                zero: "pict";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: {
            label: "membrane-value";
            type: "label";
            value: {
                choices: readonly ["bass drum", "bass drum on side", "bongos", "Chinese tomtom", "conga drum", "cuica", "goblet drum", "Indo-American tomtom", "Japanese tomtom", "military drum", "snare drum", "snare drum snares off", "tabla", "tambourine", "tenor drum", "timbales", "tomtom"];
                type: "choices";
            };
        };
    }];
    name: "membrane";
} = Membrane.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: "membrane-value";
            type: "label";
            value: {
                choices: readonly ["bass drum", "bass drum on side", "bongos", "Chinese tomtom", "conga drum", "cuica", "goblet drum", "Indo-American tomtom", "Japanese tomtom", "military drum", "snare drum", "snare drum snares off", "tabla", "tambourine", "tenor drum", "timbales", "tomtom"];
                type: "choices";
            };
        };
    }]
  • Readonly name: "membrane"
schema: {
    attributes: {
        smufl: {
            type: "optional";
            value: {
                pattern: RegExp;
                type: "regex";
                zero: "pict";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: {
            label: "membrane-value";
            type: "label";
            value: {
                choices: readonly ["bass drum", "bass drum on side", "bongos", "Chinese tomtom", "conga drum", "cuica", "goblet drum", "Indo-American tomtom", "Japanese tomtom", "military drum", "snare drum", "snare drum snares off", "tabla", "tambourine", "tenor drum", "timbales", "tomtom"];
                type: "choices";
            };
        };
    }];
    name: "membrane";
} = ...

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: "membrane-value";
            type: "label";
            value: {
                choices: readonly ["bass drum", "bass drum on side", "bongos", "Chinese tomtom", "conga drum", "cuica", "goblet drum", "Indo-American tomtom", "Japanese tomtom", "military drum", "snare drum", "snare drum snares off", "tabla", "tambourine", "tenor drum", "timbales", "tomtom"];
                type: "choices";
            };
        };
    }]
  • Readonly name: "membrane"

Methods

  • Gets

    Returns "bass drum" | "bass drum on side" | "bongos" | "Chinese tomtom" | "conga drum" | "cuica" | "goblet drum" | "Indo-American tomtom" | "Japanese tomtom" | "military drum" | "snare drum" | "snare drum snares off" | "tabla" | "tambourine" | "tenor drum" | "timbales" | "tomtom"

  • Sets

    Parameters

    • membraneValue: "bass drum" | "bass drum on side" | "bongos" | "Chinese tomtom" | "conga drum" | "cuica" | "goblet drum" | "Indo-American tomtom" | "Japanese tomtom" | "military drum" | "snare drum" | "snare drum snares off" | "tabla" | "tambourine" | "tenor drum" | "timbales" | "tomtom"

    Returns Membrane

Generated using TypeDoc