You are here: MusicXML Reference > Score Schema (XSD) > Elements > Element: root-alter

Element: root-alter

Description

The root-alter type represents the chromatic alteration of the root of the current chord within the harmony element. In some chord styles, the text for the root-step element may include root-alter information. In that case, the print-object attribute of the root-alter element can be set to no.

Derived By

Type root-alter

Attributes
Name  Type  Required?  Default  Description 
print-object  yes-no  No 
default-x  tenths  No 
default-y  tenths  No 
relative-x  tenths  No 
relative-y  tenths  No 
font-family  comma-separated-text  No 
font-style  font-style  No 
font-size  font-size  No 
font-weight  font-weight  No 
color  color  No 
location  left-right  No  The location attribute indicates whether the alteration should appear to the left or the right of the root-step; it is right by default.
Content Model

Contains text only.

Referenced By
Example

      <harmony default-y="21" font-family="Arial">
        <root>
          <root-step>C</root-step>
          <root-alter>1</root-alter>
        </root>
        <kind halign="center" text="">major</kind>
        <bass>
          <bass-step>G</bass-step>
        </bass>
      </harmony>

Definition

See root

 

MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301