The <capo> element

Parent element: <staff-details>

The <capo> element indicates at which fret a capo should be placed on a fretted instrument. This changes the open tuning of the strings specified by the <staff-tuning> element by the specified number of half-steps.

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

Hierarchy

  • Capo

Implements

Constructors

Properties

attributes: CapoAttributes
contents: CapoContents
schema: {
    attributes: {};
    contents: readonly [{
        label: "value";
        type: "label";
        value: {
            type: "required";
            value: {
                max: number;
                min: 0;
                type: "int";
            };
        };
    }];
    name: "capo";
} = Capo.schema

Type declaration

  • Readonly attributes: {}
    • Readonly contents: readonly [{
          label: "value";
          type: "label";
          value: {
              type: "required";
              value: {
                  max: number;
                  min: 0;
                  type: "int";
              };
          };
      }]
    • Readonly name: "capo"
    schema: {
        attributes: {};
        contents: readonly [{
            label: "value";
            type: "label";
            value: {
                type: "required";
                value: {
                    max: number;
                    min: 0;
                    type: "int";
                };
            };
        }];
        name: "capo";
    } = ...

    Type declaration

    • Readonly attributes: {}
      • Readonly contents: readonly [{
            label: "value";
            type: "label";
            value: {
                type: "required";
                value: {
                    max: number;
                    min: 0;
                    type: "int";
                };
            };
        }]
      • Readonly name: "capo"

      Methods

      Generated using TypeDoc