The <display-octave> element

Parent elements: <rest>, <unpitched>

The <display-step> and <display-octave> elements are used to place <rest> and <unpitched> elements on the staff without implying that these elements have pitch. Positioning follows the current clef. If percussion clef is used, the <display-step> and <display-octave> elements are interpreted as if in treble clef, with a G in octave 4 on line 2.

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

Hierarchy

  • DisplayOctave

Implements

Constructors

Properties

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

Type declaration

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

    Type declaration

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

      Methods

      Generated using TypeDoc