The <diatonic> element

Parent elements: <part-transpose>, <transpose>

The <diatonic> element specifies the number of pitch steps needed to go from written to sounding pitch. This allows for correct spelling of enharmonic transpositions. This value does not include values; the values for both elements need to be added to the written pitch to get the correct sounding pitch.

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

Hierarchy

  • Diatonic

Implements

Constructors

Properties

attributes: DiatonicAttributes
schema: {
    attributes: {};
    contents: readonly [{
        label: "diatonic";
        type: "label";
        value: {
            type: "required";
            value: {
                max: number;
                min: number;
                type: "int";
            };
        };
    }];
    name: "diatonic";
} = Diatonic.schema

Type declaration

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

    Type declaration

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

      Methods

      Generated using TypeDoc