The <stick> element

Parent element: <percussion>

The <stick> element represents pictograms where the material of the stick, mallet, or beater is included.

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

Hierarchy

  • Stick

Implements

Constructors

Properties

attributes: StickAttributes
contents: StickContents
schema: {
    attributes: {
        dashed-circle: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        parentheses: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        tip: {
            type: "optional";
            value: {
                choices: readonly ["down", "left", "northeast", "northwest", "right", "southeast", "southwest", "up"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: typeof StickType;
    }, {
        type: "required";
        value: typeof StickMaterial;
    }];
    name: "stick";
} = Stick.schema

Type declaration

  • Readonly attributes: {
        dashed-circle: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        parentheses: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        tip: {
            type: "optional";
            value: {
                choices: readonly ["down", "left", "northeast", "northwest", "right", "southeast", "southwest", "up"];
                type: "choices";
            };
        };
    }
    • Readonly dashed-circle: {
          type: "optional";
          value: {
              choices: readonly ["yes", "no"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["yes", "no"];
            type: "choices";
        }
        • Readonly choices: readonly ["yes", "no"]
        • Readonly type: "choices"
    • Readonly parentheses: {
          type: "optional";
          value: {
              choices: readonly ["yes", "no"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["yes", "no"];
            type: "choices";
        }
        • Readonly choices: readonly ["yes", "no"]
        • Readonly 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: typeof StickType;
    }, {
        type: "required";
        value: typeof StickMaterial;
    }]
  • Readonly name: "stick"
schema: {
    attributes: {
        dashed-circle: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        parentheses: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        tip: {
            type: "optional";
            value: {
                choices: readonly ["down", "left", "northeast", "northwest", "right", "southeast", "southwest", "up"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: typeof StickType;
    }, {
        type: "required";
        value: typeof StickMaterial;
    }];
    name: "stick";
} = ...

Type declaration

  • Readonly attributes: {
        dashed-circle: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        parentheses: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        tip: {
            type: "optional";
            value: {
                choices: readonly ["down", "left", "northeast", "northwest", "right", "southeast", "southwest", "up"];
                type: "choices";
            };
        };
    }
    • Readonly dashed-circle: {
          type: "optional";
          value: {
              choices: readonly ["yes", "no"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["yes", "no"];
            type: "choices";
        }
        • Readonly choices: readonly ["yes", "no"]
        • Readonly type: "choices"
    • Readonly parentheses: {
          type: "optional";
          value: {
              choices: readonly ["yes", "no"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["yes", "no"];
            type: "choices";
        }
        • Readonly choices: readonly ["yes", "no"]
        • Readonly 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: typeof StickType;
    }, {
        type: "required";
        value: typeof StickMaterial;
    }]
  • Readonly name: "stick"

Methods

  • Gets

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

Generated using TypeDoc