Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.media.sound
Class DLSInstrument

    java.lang.Object
      javax.sound.midi.SoundbankResource
          javax.sound.midi.Instrument
              com.sun.media.sound.ModelInstrument
                  com.sun.media.sound.DLSInstrument

    public class DLSInstrument

extends ModelInstrument

This class is used to store information to describe instrument. It contains list of regions and modulators. It is stored inside a "ins " List Chunk inside DLS files. In the DLS documentation a modulator is called articulator.

Author:
  Karl Helgason

Constructor Summary
`DLSInstrument()`
`DLSInstrument(DLSSoundbank soundbank)`

Method Summary
`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()`

Methods inherited from class com.sun.media.sound.ModelInstrument
`getChannelMixer, getChannels, getDirector, getKeys, getPatchAlias`

Methods inherited from class javax.sound.midi.SoundbankResource
`getDataClass, getSoundbank`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### DLSInstrument

    public DLSInstrument()

### DLSInstrument

    public DLSInstrument(DLSSoundbank soundbank)

Method Detail

### getInfo

    public DLSInfo getInfo()

### getName

    public java.lang.String getName()

  Overrides:
    `getName` in class `javax.sound.midi.SoundbankResource`

### setName

    public void setName(java.lang.String name)

### getPatch

    public ModelPatch getPatch()

  Overrides:
    `getPatch` in class `javax.sound.midi.Instrument`

### setPatch

    public void setPatch(javax.sound.midi.Patch patch)

### getData

    public java.lang.Object getData()

  Specified by:
    `getData` in class `javax.sound.midi.SoundbankResource`

### getRegions

    public java.util.List<DLSRegion> getRegions()

### getModulators

    public java.util.List<DLSModulator> getModulators()

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

### getPerformers

    public ModelPerformer[] getPerformers()

  Overrides:
    `getPerformers` in class `ModelInstrument`

### getGuid

    public byte[] getGuid()

### setGuid

    public void setGuid(byte[] guid)

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD