Package org.audiveris.proxymusic
Class InstrumentChange
java.lang.Object
org.audiveris.proxymusic.InstrumentChange
The instrument-change element type represents a change to the virtual instrument sound for a given score-instrument. The id attribute refers to the score-instrument affected by the change. All instrument-change child elements can also be initially specified within the score-instrument element.
Java class for instrument-change complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="instrument-change">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<group ref="{}virtual-instrument-data"/>
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Objectprotected Stringprotected Emptyprotected VirtualInstrument -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the ensemble property.getId()Gets the value of the id property.Gets the value of the instrumentSound property.getSolo()Gets the value of the solo property.Gets the value of the virtualInstrument property.voidsetEnsemble(String value) Sets the value of the ensemble property.voidSets the value of the id property.voidsetInstrumentSound(String value) Sets the value of the instrumentSound property.voidSets the value of the solo property.voidSets the value of the virtualInstrument property.
-
Field Details
-
instrumentSound
-
solo
-
ensemble
-
virtualInstrument
-
id
-
-
Constructor Details
-
InstrumentChange
public InstrumentChange()
-
-
Method Details
-
getInstrumentSound
Gets the value of the instrumentSound property.- Returns:
- possible object is
String
-
setInstrumentSound
Sets the value of the instrumentSound property.- Parameters:
value- allowed object isString
-
getSolo
Gets the value of the solo property.- Returns:
- possible object is
Empty
-
setSolo
Sets the value of the solo property.- Parameters:
value- allowed object isEmpty
-
getEnsemble
Gets the value of the ensemble property.- Returns:
- possible object is
String
-
setEnsemble
Sets the value of the ensemble property.- Parameters:
value- allowed object isString
-
getVirtualInstrument
Gets the value of the virtualInstrument property.- Returns:
- possible object is
VirtualInstrument
-
setVirtualInstrument
Sets the value of the virtualInstrument property.- Parameters:
value- allowed object isVirtualInstrument
-
getId
Gets the value of the id property.- Returns:
- possible object is
Object
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isObject
-