The <chromatic> element

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

The <chromatic> element represents the number of semitones needed to get from written to sounding pitch. This value does not include <octave-change> 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/chromatic/

Hierarchy

  • Chromatic

Implements

Constructors

Properties

schema: {
    attributes: {};
    contents: readonly [{
        type: "required";
        value: {
            label: "semitones";
            type: "label";
            value: {
                max: number;
                min: number;
                type: "float";
            };
        };
    }];
    name: "chromatic";
} = Chromatic.schema

Type declaration

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

    Type declaration

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

      Methods

      Generated using TypeDoc