The <octave> element

Parent element: <pitch>

Octaves are represented by the numbers 0 to 9, where 4 indicates the octave started by middle C.

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

Hierarchy

  • Octave

Implements

Constructors

Properties

attributes: OctaveAttributes
contents: OctaveContents
schema: {
    attributes: {};
    contents: readonly [{
        type: "required";
        value: {
            label: "octave";
            type: "label";
            value: {
                max: 9;
                min: 0;
                type: "int";
            };
        };
    }];
    name: "octave";
} = Octave.schema

Type declaration

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

    Type declaration

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

      Methods

      Generated using TypeDoc