public class Sound extends Object
Java class for sound complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="sound">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<sequence maxOccurs="unbounded" minOccurs="0">
<element name="midi-device" type="{}midi-device" minOccurs="0"/>
<element name="midi-instrument" type="{}midi-instrument" minOccurs="0"/>
<element name="play" type="{}play" minOccurs="0"/>
</sequence>
<element name="offset" type="{}offset" minOccurs="0"/>
</sequence>
<attribute name="tempo" type="{}non-negative-decimal" />
<attribute name="dynamics" type="{}non-negative-decimal" />
<attribute name="dacapo" type="{}yes-no" />
<attribute name="segno" type="{http://www.w3.org/2001/XMLSchema}token" />
<attribute name="dalsegno" type="{http://www.w3.org/2001/XMLSchema}token" />
<attribute name="coda" type="{http://www.w3.org/2001/XMLSchema}token" />
<attribute name="tocoda" type="{http://www.w3.org/2001/XMLSchema}token" />
<attribute name="divisions" type="{}divisions" />
<attribute name="forward-repeat" type="{}yes-no" />
<attribute name="fine" type="{http://www.w3.org/2001/XMLSchema}token" />
<attribute name="time-only" type="{}time-only" />
<attribute name="pizzicato" type="{}yes-no" />
<attribute name="pan" type="{}rotation-degrees" />
<attribute name="elevation" type="{}rotation-degrees" />
<attribute name="damper-pedal" type="{}yes-no-number" />
<attribute name="soft-pedal" type="{}yes-no-number" />
<attribute name="sostenuto-pedal" type="{}yes-no-number" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
coda |
protected YesNo |
dacapo |
protected String |
dalsegno |
protected String |
damperPedal |
protected BigDecimal |
divisions |
protected BigDecimal |
dynamics |
protected BigDecimal |
elevation |
protected String |
fine |
protected YesNo |
forwardRepeat |
protected List<Object> |
midiDeviceAndMidiInstrumentAndPlay |
protected Offset |
offset |
protected BigDecimal |
pan |
protected YesNo |
pizzicato |
protected String |
segno |
protected String |
softPedal |
protected String |
sostenutoPedal |
protected BigDecimal |
tempo |
protected String |
timeOnly |
protected String |
tocoda |
| Constructor and Description |
|---|
Sound() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCoda()
Gets the value of the coda property.
|
YesNo |
getDacapo()
Gets the value of the dacapo property.
|
String |
getDalsegno()
Gets the value of the dalsegno property.
|
String |
getDamperPedal()
Gets the value of the damperPedal property.
|
BigDecimal |
getDivisions()
Gets the value of the divisions property.
|
BigDecimal |
getDynamics()
Gets the value of the dynamics property.
|
BigDecimal |
getElevation()
Gets the value of the elevation property.
|
String |
getFine()
Gets the value of the fine property.
|
YesNo |
getForwardRepeat()
Gets the value of the forwardRepeat property.
|
List<Object> |
getMidiDeviceAndMidiInstrumentAndPlay()
Gets the value of the midiDeviceAndMidiInstrumentAndPlay property.
|
Offset |
getOffset()
Gets the value of the offset property.
|
BigDecimal |
getPan()
Gets the value of the pan property.
|
YesNo |
getPizzicato()
Gets the value of the pizzicato property.
|
String |
getSegno()
Gets the value of the segno property.
|
String |
getSoftPedal()
Gets the value of the softPedal property.
|
String |
getSostenutoPedal()
Gets the value of the sostenutoPedal property.
|
BigDecimal |
getTempo()
Gets the value of the tempo property.
|
String |
getTimeOnly()
Gets the value of the timeOnly property.
|
String |
getTocoda()
Gets the value of the tocoda property.
|
void |
setCoda(String value)
Sets the value of the coda property.
|
void |
setDacapo(YesNo value)
Sets the value of the dacapo property.
|
void |
setDalsegno(String value)
Sets the value of the dalsegno property.
|
void |
setDamperPedal(String value)
Sets the value of the damperPedal property.
|
void |
setDivisions(BigDecimal value)
Sets the value of the divisions property.
|
void |
setDynamics(BigDecimal value)
Sets the value of the dynamics property.
|
void |
setElevation(BigDecimal value)
Sets the value of the elevation property.
|
void |
setFine(String value)
Sets the value of the fine property.
|
void |
setForwardRepeat(YesNo value)
Sets the value of the forwardRepeat property.
|
void |
setOffset(Offset value)
Sets the value of the offset property.
|
void |
setPan(BigDecimal value)
Sets the value of the pan property.
|
void |
setPizzicato(YesNo value)
Sets the value of the pizzicato property.
|
void |
setSegno(String value)
Sets the value of the segno property.
|
void |
setSoftPedal(String value)
Sets the value of the softPedal property.
|
void |
setSostenutoPedal(String value)
Sets the value of the sostenutoPedal property.
|
void |
setTempo(BigDecimal value)
Sets the value of the tempo property.
|
void |
setTimeOnly(String value)
Sets the value of the timeOnly property.
|
void |
setTocoda(String value)
Sets the value of the tocoda property.
|
protected Offset offset
protected BigDecimal tempo
protected BigDecimal dynamics
protected YesNo dacapo
protected String segno
protected String dalsegno
protected String coda
protected String tocoda
protected BigDecimal divisions
protected YesNo forwardRepeat
protected String fine
protected String timeOnly
protected YesNo pizzicato
protected BigDecimal pan
protected BigDecimal elevation
protected String damperPedal
protected String softPedal
protected String sostenutoPedal
public List<Object> getMidiDeviceAndMidiInstrumentAndPlay()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the midiDeviceAndMidiInstrumentAndPlay property.
For example, to add a new item, do as follows:
getMidiDeviceAndMidiInstrumentAndPlay().add(newItem);
Objects of the following type(s) are allowed in the list
MidiDevice
MidiInstrument
Play
public Offset getOffset()
Offsetpublic void setOffset(Offset value)
value - allowed object is
Offsetpublic BigDecimal getTempo()
BigDecimalpublic void setTempo(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getDynamics()
BigDecimalpublic void setDynamics(BigDecimal value)
value - allowed object is
BigDecimalpublic YesNo getDacapo()
YesNopublic void setDacapo(YesNo value)
value - allowed object is
YesNopublic String getSegno()
Stringpublic void setSegno(String value)
value - allowed object is
Stringpublic String getDalsegno()
Stringpublic void setDalsegno(String value)
value - allowed object is
Stringpublic String getCoda()
Stringpublic void setCoda(String value)
value - allowed object is
Stringpublic String getTocoda()
Stringpublic void setTocoda(String value)
value - allowed object is
Stringpublic BigDecimal getDivisions()
BigDecimalpublic void setDivisions(BigDecimal value)
value - allowed object is
BigDecimalpublic YesNo getForwardRepeat()
YesNopublic void setForwardRepeat(YesNo value)
value - allowed object is
YesNopublic String getFine()
Stringpublic void setFine(String value)
value - allowed object is
Stringpublic String getTimeOnly()
Stringpublic void setTimeOnly(String value)
value - allowed object is
Stringpublic YesNo getPizzicato()
YesNopublic void setPizzicato(YesNo value)
value - allowed object is
YesNopublic BigDecimal getPan()
BigDecimalpublic void setPan(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getElevation()
BigDecimalpublic void setElevation(BigDecimal value)
value - allowed object is
BigDecimalpublic String getDamperPedal()
Stringpublic void setDamperPedal(String value)
value - allowed object is
Stringpublic String getSoftPedal()
Stringpublic void setSoftPedal(String value)
value - allowed object is
Stringpublic String getSostenutoPedal()
StringCopyright © 2016 Audiveris Ltd. All rights reserved.