Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
public class: DLSInstrument [javadoc | source]
java.lang.Object
   javax.sound.midi.SoundbankResource
      javax.sound.midi.Instrument
         com.sun.media.sound.ModelInstrument
            com.sun.media.sound.DLSInstrument
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.
Field Summary
protected  int preset     
protected  int bank     
protected  boolean druminstrument     
protected  byte[] guid     
protected  DLSInfo info     
protected  List<DLSRegion> regions     
protected  List<DLSModulator> modulators     
Constructor:
 public DLSInstrument() 
 public DLSInstrument(DLSSoundbank soundbank) 
Method from com.sun.media.sound.DLSInstrument Summary:
getData,   getGuid,   getInfo,   getModulators,   getName,   getPatch,   getPerformers,   getRegions,   setGuid,   setName,   setPatch,   toString
Methods from com.sun.media.sound.ModelInstrument:
getChannelMixer,   getChannels,   getDirector,   getKeys,   getPatchAlias,   getPerformers
Methods from javax.sound.midi.Instrument:
getPatch
Methods from javax.sound.midi.SoundbankResource:
getData,   getDataClass,   getName,   getSoundbank
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.media.sound.DLSInstrument Detail:
 public Object getData() 
 public byte[] getGuid() 
 public DLSInfo getInfo() 
 public List<DLSModulator> getModulators() 
 public String getName() 
 public ModelPatch getPatch() 
 public ModelPerformer[] getPerformers() 
 public List<DLSRegion> getRegions() 
 public  void setGuid(byte[] guid) 
 public  void setName(String name) 
 public  void setPatch(Patch patch) 
 public String toString()