The <accord> element

Parent element: <scordatura>

The <accord> element represents the tuning of a single string in the <scordatura> element. It uses the same group of elements as the <staff-tuning> element.

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

Hierarchy

  • Accord

Implements

Constructors

Properties

attributes: AccordAttributes
contents: AccordContents
schema: {
    attributes: {
        string: {
            type: "optional";
            value: {
                max: number;
                min: 1;
                type: "int";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: typeof TuningStep;
    }, {
        type: "optional";
        value: typeof TuningAlter;
    }, {
        type: "required";
        value: typeof TuningOctave;
    }];
    name: "accord";
} = Accord.schema

Type declaration

  • Readonly attributes: {
        string: {
            type: "optional";
            value: {
                max: number;
                min: 1;
                type: "int";
            };
        };
    }
    • Readonly string: {
          type: "optional";
          value: {
              max: number;
              min: 1;
              type: "int";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            max: number;
            min: 1;
            type: "int";
        }
        • Readonly max: number
        • Readonly min: 1
        • Readonly type: "int"
  • Readonly contents: readonly [{
        type: "required";
        value: typeof TuningStep;
    }, {
        type: "optional";
        value: typeof TuningAlter;
    }, {
        type: "required";
        value: typeof TuningOctave;
    }]
  • Readonly name: "accord"
schema: {
    attributes: {
        string: {
            type: "optional";
            value: {
                max: number;
                min: 1;
                type: "int";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: typeof TuningStep;
    }, {
        type: "optional";
        value: typeof TuningAlter;
    }, {
        type: "required";
        value: typeof TuningOctave;
    }];
    name: "accord";
} = ...

Type declaration

  • Readonly attributes: {
        string: {
            type: "optional";
            value: {
                max: number;
                min: 1;
                type: "int";
            };
        };
    }
    • Readonly string: {
          type: "optional";
          value: {
              max: number;
              min: 1;
              type: "int";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            max: number;
            min: 1;
            type: "int";
        }
        • Readonly max: number
        • Readonly min: 1
        • Readonly type: "int"
  • Readonly contents: readonly [{
        type: "required";
        value: typeof TuningStep;
    }, {
        type: "optional";
        value: typeof TuningAlter;
    }, {
        type: "required";
        value: typeof TuningOctave;
    }]
  • Readonly name: "accord"

Methods

Generated using TypeDoc