You are here: MusicXML Reference > Score Schema (XSD) > Elements > Element: key-octave

Element: key-octave

Description

The optional list of key-octave elements is used to specify in which octave each element of the key signature appears.

Derived By

Type key-octave

Attributes
Name  Type  Required?  Default  Description 
number  xs:positiveInteger  Yes  The number attribute is a positive integer that refers to the key signature element in left-to-right order.
cancel  yes-no  No  If the cancel attribute is set to yes, then this number refers to an element specified by the cancel element. It is no by default.
Content Model

Contains text only.

Referenced By
  • Complex Type key
Example

        <key>
          <key-step>F</key-step>
          <key-alter>1</key-alter>
          <key-step>G</key-step>
          <key-alter>1</key-alter>
          <key-octave number="1">4</key-octave>
          <key-octave number="2">4</key-octave>
        </key>
Definition

See key

 

MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301