The <pitch> element

Parent element: <note>

Pitch is represented as a combination of the step of the diatonic scale, the chromatic alteration, and the octave.

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

Hierarchy

  • Pitch

Implements

Constructors

Properties

attributes: PitchAttributes
contents: PitchContents
schema: {
    attributes: {};
    contents: readonly [{
        type: "required";
        value: typeof Step;
    }, {
        type: "optional";
        value: typeof Alter;
    }, {
        type: "required";
        value: typeof Octave;
    }];
    name: "pitch";
} = Pitch.schema

Type declaration

  • Readonly attributes: {}
    • Readonly contents: readonly [{
          type: "required";
          value: typeof Step;
      }, {
          type: "optional";
          value: typeof Alter;
      }, {
          type: "required";
          value: typeof Octave;
      }]
    • Readonly name: "pitch"
    schema: {
        attributes: {};
        contents: readonly [{
            type: "required";
            value: typeof Step;
        }, {
            type: "optional";
            value: typeof Alter;
        }, {
            type: "required";
            value: typeof Octave;
        }];
        name: "pitch";
    } = ...

    Type declaration

    • Readonly attributes: {}
      • Readonly contents: readonly [{
            type: "required";
            value: typeof Step;
        }, {
            type: "optional";
            value: typeof Alter;
        }, {
            type: "required";
            value: typeof Octave;
        }]
      • Readonly name: "pitch"

      Methods

      Generated using TypeDoc