public class MidiInstrument extends Object
Java class for midi-instrument complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="midi-instrument">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="midi-channel" type="{}midi-16" minOccurs="0"/>
<element name="midi-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="midi-bank" type="{}midi-16384" minOccurs="0"/>
<element name="midi-program" type="{}midi-128" minOccurs="0"/>
<element name="midi-unpitched" type="{}midi-128" minOccurs="0"/>
<element name="volume" type="{}percent" minOccurs="0"/>
<element name="pan" type="{}rotation-degrees" minOccurs="0"/>
<element name="elevation" type="{}rotation-degrees" minOccurs="0"/>
</sequence>
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
elevation |
protected Object |
id |
protected Integer |
midiBank |
protected Integer |
midiChannel |
protected String |
midiName |
protected Integer |
midiProgram |
protected Integer |
midiUnpitched |
protected BigDecimal |
pan |
protected BigDecimal |
volume |
| Constructor and Description |
|---|
MidiInstrument() |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getElevation()
Gets the value of the elevation property.
|
Object |
getId()
Gets the value of the id property.
|
Integer |
getMidiBank()
Gets the value of the midiBank property.
|
Integer |
getMidiChannel()
Gets the value of the midiChannel property.
|
String |
getMidiName()
Gets the value of the midiName property.
|
Integer |
getMidiProgram()
Gets the value of the midiProgram property.
|
Integer |
getMidiUnpitched()
Gets the value of the midiUnpitched property.
|
BigDecimal |
getPan()
Gets the value of the pan property.
|
BigDecimal |
getVolume()
Gets the value of the volume property.
|
void |
setElevation(BigDecimal value)
Sets the value of the elevation property.
|
void |
setId(Object value)
Sets the value of the id property.
|
void |
setMidiBank(Integer value)
Sets the value of the midiBank property.
|
void |
setMidiChannel(Integer value)
Sets the value of the midiChannel property.
|
void |
setMidiName(String value)
Sets the value of the midiName property.
|
void |
setMidiProgram(Integer value)
Sets the value of the midiProgram property.
|
void |
setMidiUnpitched(Integer value)
Sets the value of the midiUnpitched property.
|
void |
setPan(BigDecimal value)
Sets the value of the pan property.
|
void |
setVolume(BigDecimal value)
Sets the value of the volume property.
|
protected Integer midiChannel
protected String midiName
protected Integer midiBank
protected Integer midiProgram
protected Integer midiUnpitched
protected BigDecimal volume
protected BigDecimal pan
protected BigDecimal elevation
protected Object id
public Integer getMidiChannel()
Integerpublic void setMidiChannel(Integer value)
value - allowed object is
Integerpublic String getMidiName()
Stringpublic void setMidiName(String value)
value - allowed object is
Stringpublic Integer getMidiBank()
Integerpublic void setMidiBank(Integer value)
value - allowed object is
Integerpublic Integer getMidiProgram()
Integerpublic void setMidiProgram(Integer value)
value - allowed object is
Integerpublic Integer getMidiUnpitched()
Integerpublic void setMidiUnpitched(Integer value)
value - allowed object is
Integerpublic BigDecimal getVolume()
BigDecimalpublic void setVolume(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getPan()
BigDecimalpublic void setPan(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getElevation()
BigDecimalpublic void setElevation(BigDecimal value)
value - allowed object is
BigDecimalCopyright © 2016 Audiveris Ltd. All rights reserved.