The <fifths> element

Parent element: <key>

The <fifths> element represents the number of flats or sharps in a traditional key signature. Negative numbers are used for flats and positive numbers for sharps, reflecting the key's placement within the circle of fifths (hence the element name).

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

Hierarchy

  • Fifths

Implements

Constructors

Properties

attributes: FifthsAttributes
contents: FifthsContents
schema: {
    attributes: {};
    contents: readonly [{
        label: "value";
        type: "label";
        value: {
            type: "optional";
            value: {
                max: number;
                min: number;
                type: "int";
            };
        };
    }];
    name: "fifths";
} = Fifths.schema

Type declaration

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

    Type declaration

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

      Methods

      Generated using TypeDoc