public class DLSInstrument extends ModelInstrument
Modifier and Type | Field and Description |
---|---|
protected int |
bank |
protected boolean |
druminstrument |
protected byte[] |
guid |
protected DLSInfo |
info |
protected java.util.List<DLSModulator> |
modulators |
protected int |
preset |
protected java.util.List<DLSRegion> |
regions |
Constructor and Description |
---|
DLSInstrument() |
DLSInstrument(DLSSoundbank soundbank) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getData() |
byte[] |
getGuid() |
DLSInfo |
getInfo() |
java.util.List<DLSModulator> |
getModulators() |
java.lang.String |
getName() |
ModelPatch |
getPatch() |
ModelPerformer[] |
getPerformers() |
java.util.List<DLSRegion> |
getRegions() |
void |
setGuid(byte[] guid) |
void |
setName(java.lang.String name) |
void |
setPatch(javax.sound.midi.Patch patch) |
java.lang.String |
toString() |
getChannelMixer, getChannels, getDirector, getKeys, getPatchAlias
protected int preset
protected int bank
protected boolean druminstrument
protected byte[] guid
protected DLSInfo info
protected java.util.List<DLSRegion> regions
protected java.util.List<DLSModulator> modulators
public DLSInstrument()
public DLSInstrument(DLSSoundbank soundbank)
public DLSInfo getInfo()
public java.lang.String getName()
getName
in class javax.sound.midi.SoundbankResource
public void setName(java.lang.String name)
public ModelPatch getPatch()
getPatch
in class javax.sound.midi.Instrument
public void setPatch(javax.sound.midi.Patch patch)
public java.lang.Object getData()
getData
in class javax.sound.midi.SoundbankResource
public java.util.List<DLSRegion> getRegions()
public java.util.List<DLSModulator> getModulators()
public java.lang.String toString()
toString
in class java.lang.Object
public ModelPerformer[] getPerformers()
getPerformers
in class ModelInstrument
public byte[] getGuid()
public void setGuid(byte[] guid)