Class Root

java.lang.Object
org.audiveris.proxymusic.Root

public class Root extends Object
The root type indicates a pitch like C, D, E vs. a scale degree like 1, 2, 3. It is used with chord symbols in popular music. The root element has a root-step and optional root-alter element similar to the step and alter elements, but renamed to distinguish the different musical meanings.

Java class for root complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="root">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="root-step" type="{}root-step"/>
         <element name="root-alter" type="{}harmony-alter" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Root

      public Root()
  • Method Details

    • getRootStep

      public RootStep getRootStep()
      Gets the value of the rootStep property.
      Returns:
      possible object is RootStep
    • setRootStep

      public void setRootStep(RootStep value)
      Sets the value of the rootStep property.
      Parameters:
      value - allowed object is RootStep
    • getRootAlter

      public HarmonyAlter getRootAlter()
      Gets the value of the rootAlter property.
      Returns:
      possible object is HarmonyAlter
    • setRootAlter

      public void setRootAlter(HarmonyAlter value)
      Sets the value of the rootAlter property.
      Parameters:
      value - allowed object is HarmonyAlter