Class Harmonic

java.lang.Object
org.audiveris.proxymusic.Harmonic

public class Harmonic extends Object
The harmonic type indicates natural and artificial harmonics. Allowing the type of pitch to be specified, combined with controls for appearance/playback differences, allows both the notation and the sound to be represented. Artificial harmonics can add a notated touching pitch; artificial pinch harmonics will usually not notate a touching pitch. The attributes for the harmonic element refer to the use of the circular harmonic symbol, typically but not always used with natural harmonics.

Java class for harmonic complex type.

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

 <complexType name="harmonic">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice minOccurs="0">
           <element name="natural" type="{}empty"/>
           <element name="artificial" type="{}empty"/>
         </choice>
         <choice minOccurs="0">
           <element name="base-pitch" type="{}empty"/>
           <element name="touching-pitch" type="{}empty"/>
           <element name="sounding-pitch" type="{}empty"/>
         </choice>
       </sequence>
       <attGroup ref="{}print-object"/>
       <attGroup ref="{}print-style"/>
       <attGroup ref="{}placement"/>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • natural

      protected Empty natural
    • artificial

      protected Empty artificial
    • basePitch

      protected Empty basePitch
    • touchingPitch

      protected Empty touchingPitch
    • soundingPitch

      protected Empty soundingPitch
    • printObject

      protected YesNo printObject
    • color

      protected String color
    • fontFamily

      protected String fontFamily
    • fontStyle

      protected FontStyle fontStyle
    • fontSize

      protected String fontSize
    • fontWeight

      protected FontWeight fontWeight
    • defaultX

      protected BigDecimal defaultX
    • defaultY

      protected BigDecimal defaultY
    • relativeX

      protected BigDecimal relativeX
    • relativeY

      protected BigDecimal relativeY
    • placement

      protected AboveBelow placement
  • Constructor Details

    • Harmonic

      public Harmonic()
  • Method Details

    • getNatural

      public Empty getNatural()
      Gets the value of the natural property.
      Returns:
      possible object is Empty
    • setNatural

      public void setNatural(Empty value)
      Sets the value of the natural property.
      Parameters:
      value - allowed object is Empty
    • getArtificial

      public Empty getArtificial()
      Gets the value of the artificial property.
      Returns:
      possible object is Empty
    • setArtificial

      public void setArtificial(Empty value)
      Sets the value of the artificial property.
      Parameters:
      value - allowed object is Empty
    • getBasePitch

      public Empty getBasePitch()
      Gets the value of the basePitch property.
      Returns:
      possible object is Empty
    • setBasePitch

      public void setBasePitch(Empty value)
      Sets the value of the basePitch property.
      Parameters:
      value - allowed object is Empty
    • getTouchingPitch

      public Empty getTouchingPitch()
      Gets the value of the touchingPitch property.
      Returns:
      possible object is Empty
    • setTouchingPitch

      public void setTouchingPitch(Empty value)
      Sets the value of the touchingPitch property.
      Parameters:
      value - allowed object is Empty
    • getSoundingPitch

      public Empty getSoundingPitch()
      Gets the value of the soundingPitch property.
      Returns:
      possible object is Empty
    • setSoundingPitch

      public void setSoundingPitch(Empty value)
      Sets the value of the soundingPitch property.
      Parameters:
      value - allowed object is Empty
    • getPrintObject

      public YesNo getPrintObject()
      Gets the value of the printObject property.
      Returns:
      possible object is YesNo
    • setPrintObject

      public void setPrintObject(YesNo value)
      Sets the value of the printObject property.
      Parameters:
      value - allowed object is YesNo
    • getColor

      public String getColor()
      Gets the value of the color property.
      Returns:
      possible object is String
    • setColor

      public void setColor(String value)
      Sets the value of the color property.
      Parameters:
      value - allowed object is String
    • getFontFamily

      public String getFontFamily()
      Gets the value of the fontFamily property.
      Returns:
      possible object is String
    • setFontFamily

      public void setFontFamily(String value)
      Sets the value of the fontFamily property.
      Parameters:
      value - allowed object is String
    • getFontStyle

      public FontStyle getFontStyle()
      Gets the value of the fontStyle property.
      Returns:
      possible object is FontStyle
    • setFontStyle

      public void setFontStyle(FontStyle value)
      Sets the value of the fontStyle property.
      Parameters:
      value - allowed object is FontStyle
    • getFontSize

      public String getFontSize()
      Gets the value of the fontSize property.
      Returns:
      possible object is String
    • setFontSize

      public void setFontSize(String value)
      Sets the value of the fontSize property.
      Parameters:
      value - allowed object is String
    • getFontWeight

      public FontWeight getFontWeight()
      Gets the value of the fontWeight property.
      Returns:
      possible object is FontWeight
    • setFontWeight

      public void setFontWeight(FontWeight value)
      Sets the value of the fontWeight property.
      Parameters:
      value - allowed object is FontWeight
    • getDefaultX

      public BigDecimal getDefaultX()
      Gets the value of the defaultX property.
      Returns:
      possible object is BigDecimal
    • setDefaultX

      public void setDefaultX(BigDecimal value)
      Sets the value of the defaultX property.
      Parameters:
      value - allowed object is BigDecimal
    • getDefaultY

      public BigDecimal getDefaultY()
      Gets the value of the defaultY property.
      Returns:
      possible object is BigDecimal
    • setDefaultY

      public void setDefaultY(BigDecimal value)
      Sets the value of the defaultY property.
      Parameters:
      value - allowed object is BigDecimal
    • getRelativeX

      public BigDecimal getRelativeX()
      Gets the value of the relativeX property.
      Returns:
      possible object is BigDecimal
    • setRelativeX

      public void setRelativeX(BigDecimal value)
      Sets the value of the relativeX property.
      Parameters:
      value - allowed object is BigDecimal
    • getRelativeY

      public BigDecimal getRelativeY()
      Gets the value of the relativeY property.
      Returns:
      possible object is BigDecimal
    • setRelativeY

      public void setRelativeY(BigDecimal value)
      Sets the value of the relativeY property.
      Parameters:
      value - allowed object is BigDecimal
    • getPlacement

      public AboveBelow getPlacement()
      Gets the value of the placement property.
      Returns:
      possible object is AboveBelow
    • setPlacement

      public void setPlacement(AboveBelow value)
      Sets the value of the placement property.
      Parameters:
      value - allowed object is AboveBelow