Package org.audiveris.proxymusic
Class Harmonic
java.lang.Object
org.audiveris.proxymusic.Harmonic
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 Summary
FieldsModifier and TypeFieldDescriptionprotected Emptyprotected Emptyprotected Stringprotected BigDecimalprotected BigDecimalprotected Stringprotected Stringprotected FontStyleprotected FontWeightprotected Emptyprotected AboveBelowprotected YesNoprotected BigDecimalprotected BigDecimalprotected Emptyprotected Empty -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the artificial property.Gets the value of the basePitch property.getColor()Gets the value of the color property.Gets the value of the defaultX property.Gets the value of the defaultY property.Gets the value of the fontFamily property.Gets the value of the fontSize property.Gets the value of the fontStyle property.Gets the value of the fontWeight property.Gets the value of the natural property.Gets the value of the placement property.Gets the value of the printObject property.Gets the value of the relativeX property.Gets the value of the relativeY property.Gets the value of the soundingPitch property.Gets the value of the touchingPitch property.voidsetArtificial(Empty value) Sets the value of the artificial property.voidsetBasePitch(Empty value) Sets the value of the basePitch property.voidSets the value of the color property.voidsetDefaultX(BigDecimal value) Sets the value of the defaultX property.voidsetDefaultY(BigDecimal value) Sets the value of the defaultY property.voidsetFontFamily(String value) Sets the value of the fontFamily property.voidsetFontSize(String value) Sets the value of the fontSize property.voidsetFontStyle(FontStyle value) Sets the value of the fontStyle property.voidsetFontWeight(FontWeight value) Sets the value of the fontWeight property.voidsetNatural(Empty value) Sets the value of the natural property.voidsetPlacement(AboveBelow value) Sets the value of the placement property.voidsetPrintObject(YesNo value) Sets the value of the printObject property.voidsetRelativeX(BigDecimal value) Sets the value of the relativeX property.voidsetRelativeY(BigDecimal value) Sets the value of the relativeY property.voidsetSoundingPitch(Empty value) Sets the value of the soundingPitch property.voidsetTouchingPitch(Empty value) Sets the value of the touchingPitch property.
-
Field Details
-
natural
-
artificial
-
basePitch
-
touchingPitch
-
soundingPitch
-
printObject
-
color
-
fontFamily
-
fontStyle
-
fontSize
-
fontWeight
-
defaultX
-
defaultY
-
relativeX
-
relativeY
-
placement
-
-
Constructor Details
-
Harmonic
public Harmonic()
-
-
Method Details
-
getNatural
Gets the value of the natural property.- Returns:
- possible object is
Empty
-
setNatural
Sets the value of the natural property.- Parameters:
value- allowed object isEmpty
-
getArtificial
Gets the value of the artificial property.- Returns:
- possible object is
Empty
-
setArtificial
Sets the value of the artificial property.- Parameters:
value- allowed object isEmpty
-
getBasePitch
Gets the value of the basePitch property.- Returns:
- possible object is
Empty
-
setBasePitch
Sets the value of the basePitch property.- Parameters:
value- allowed object isEmpty
-
getTouchingPitch
Gets the value of the touchingPitch property.- Returns:
- possible object is
Empty
-
setTouchingPitch
Sets the value of the touchingPitch property.- Parameters:
value- allowed object isEmpty
-
getSoundingPitch
Gets the value of the soundingPitch property.- Returns:
- possible object is
Empty
-
setSoundingPitch
Sets the value of the soundingPitch property.- Parameters:
value- allowed object isEmpty
-
getPrintObject
Gets the value of the printObject property.- Returns:
- possible object is
YesNo
-
setPrintObject
Sets the value of the printObject property.- Parameters:
value- allowed object isYesNo
-
getColor
Gets the value of the color property.- Returns:
- possible object is
String
-
setColor
Sets the value of the color property.- Parameters:
value- allowed object isString
-
getFontFamily
Gets the value of the fontFamily property.- Returns:
- possible object is
String
-
setFontFamily
Sets the value of the fontFamily property.- Parameters:
value- allowed object isString
-
getFontStyle
Gets the value of the fontStyle property.- Returns:
- possible object is
FontStyle
-
setFontStyle
Sets the value of the fontStyle property.- Parameters:
value- allowed object isFontStyle
-
getFontSize
Gets the value of the fontSize property.- Returns:
- possible object is
String
-
setFontSize
Sets the value of the fontSize property.- Parameters:
value- allowed object isString
-
getFontWeight
Gets the value of the fontWeight property.- Returns:
- possible object is
FontWeight
-
setFontWeight
Sets the value of the fontWeight property.- Parameters:
value- allowed object isFontWeight
-
getDefaultX
Gets the value of the defaultX property.- Returns:
- possible object is
BigDecimal
-
setDefaultX
Sets the value of the defaultX property.- Parameters:
value- allowed object isBigDecimal
-
getDefaultY
Gets the value of the defaultY property.- Returns:
- possible object is
BigDecimal
-
setDefaultY
Sets the value of the defaultY property.- Parameters:
value- allowed object isBigDecimal
-
getRelativeX
Gets the value of the relativeX property.- Returns:
- possible object is
BigDecimal
-
setRelativeX
Sets the value of the relativeX property.- Parameters:
value- allowed object isBigDecimal
-
getRelativeY
Gets the value of the relativeY property.- Returns:
- possible object is
BigDecimal
-
setRelativeY
Sets the value of the relativeY property.- Parameters:
value- allowed object isBigDecimal
-
getPlacement
Gets the value of the placement property.- Returns:
- possible object is
AboveBelow
-
setPlacement
Sets the value of the placement property.- Parameters:
value- allowed object isAboveBelow
-