public class Pitch extends Object
Java class for pitch complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="pitch">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="step" type="{}step"/>
<element name="alter" type="{}semitones" minOccurs="0"/>
<element name="octave" type="{}octave"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
alter |
protected int |
octave |
protected Step |
step |
| Constructor and Description |
|---|
Pitch() |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getAlter()
Gets the value of the alter property.
|
int |
getOctave()
Gets the value of the octave property.
|
Step |
getStep()
Gets the value of the step property.
|
void |
setAlter(BigDecimal value)
Sets the value of the alter property.
|
void |
setOctave(int value)
Sets the value of the octave property.
|
void |
setStep(Step value)
Sets the value of the step property.
|
protected Step step
protected BigDecimal alter
protected int octave
public void setStep(Step value)
value - allowed object is
Steppublic BigDecimal getAlter()
BigDecimalpublic void setAlter(BigDecimal value)
value - allowed object is
BigDecimalpublic int getOctave()
public void setOctave(int value)
Copyright © 2016 Audiveris Ltd. All rights reserved.