Package org.audiveris.proxymusic
Class Transpose
java.lang.Object
org.audiveris.proxymusic.Transpose
The transpose type represents what must be added to a written pitch to get a correct sounding pitch. The optional number attribute refers to staff numbers, from top to bottom on the system. If absent, the transposition applies to all staves in the part. Per-staff transposition is most often used in parts that represent multiple instruments.
Java class for transpose complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="transpose">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<group ref="{}transpose"/>
<attGroup ref="{}optional-unique-id"/>
<attribute name="number" type="{}staff-number" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Doubleprotected BigDecimalprotected BigIntegerprotected Stringprotected BigIntegerprotected BigInteger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the chromatic property.Gets the value of the diatonic property.Gets the value of the double property.getId()Gets the value of the id property.Gets the value of the number property.Gets the value of the octaveChange property.voidsetChromatic(BigDecimal value) Sets the value of the chromatic property.voidsetDiatonic(BigInteger value) Sets the value of the diatonic property.voidSets the value of the double property.voidSets the value of the id property.voidsetNumber(BigInteger value) Sets the value of the number property.voidsetOctaveChange(BigInteger value) Sets the value of the octaveChange property.
-
Field Details
-
diatonic
-
chromatic
-
octaveChange
-
_double
-
number
-
id
-
-
Constructor Details
-
Transpose
public Transpose()
-
-
Method Details
-
getDiatonic
Gets the value of the diatonic property.- Returns:
- possible object is
BigInteger
-
setDiatonic
Sets the value of the diatonic property.- Parameters:
value- allowed object isBigInteger
-
getChromatic
Gets the value of the chromatic property.- Returns:
- possible object is
BigDecimal
-
setChromatic
Sets the value of the chromatic property.- Parameters:
value- allowed object isBigDecimal
-
getOctaveChange
Gets the value of the octaveChange property.- Returns:
- possible object is
BigInteger
-
setOctaveChange
Sets the value of the octaveChange property.- Parameters:
value- allowed object isBigInteger
-
getDouble
Gets the value of the double property.- Returns:
- possible object is
Double
-
setDouble
Sets the value of the double property.- Parameters:
value- allowed object isDouble
-
getNumber
Gets the value of the number property.- Returns:
- possible object is
BigInteger
-
setNumber
Sets the value of the number property.- Parameters:
value- allowed object isBigInteger
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-