Class InstrumentChange

java.lang.Object
org.audiveris.proxymusic.InstrumentChange

public class InstrumentChange extends Object
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 Details

    • instrumentSound

      protected String instrumentSound
    • solo

      protected Empty solo
    • ensemble

      protected String ensemble
    • virtualInstrument

      protected VirtualInstrument virtualInstrument
    • id

      protected Object id
  • Constructor Details

    • InstrumentChange

      public InstrumentChange()
  • Method Details

    • getInstrumentSound

      public String getInstrumentSound()
      Gets the value of the instrumentSound property.
      Returns:
      possible object is String
    • setInstrumentSound

      public void setInstrumentSound(String value)
      Sets the value of the instrumentSound property.
      Parameters:
      value - allowed object is String
    • getSolo

      public Empty getSolo()
      Gets the value of the solo property.
      Returns:
      possible object is Empty
    • setSolo

      public void setSolo(Empty value)
      Sets the value of the solo property.
      Parameters:
      value - allowed object is Empty
    • getEnsemble

      public String getEnsemble()
      Gets the value of the ensemble property.
      Returns:
      possible object is String
    • setEnsemble

      public void setEnsemble(String value)
      Sets the value of the ensemble property.
      Parameters:
      value - allowed object is String
    • getVirtualInstrument

      public VirtualInstrument getVirtualInstrument()
      Gets the value of the virtualInstrument property.
      Returns:
      possible object is VirtualInstrument
    • setVirtualInstrument

      public void setVirtualInstrument(VirtualInstrument value)
      Sets the value of the virtualInstrument property.
      Parameters:
      value - allowed object is VirtualInstrument
    • getId

      public Object getId()
      Gets the value of the id property.
      Returns:
      possible object is Object
    • setId

      public void setId(Object value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is Object