Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
public class: SimpleInstrument [javadoc | source]
java.lang.Object
   javax.sound.midi.SoundbankResource
      javax.sound.midi.Instrument
         com.sun.media.sound.ModelInstrument
            com.sun.media.sound.SimpleInstrument
A simple instrument that is made of other ModelInstrument, ModelPerformer objects.
Field Summary
protected  int preset     
protected  int bank     
protected  boolean percussion     
protected  String name     
protected  List<SimpleInstrumentPart> parts     
Constructor:
 public SimpleInstrument() 
Method from com.sun.media.sound.SimpleInstrument Summary:
add,   add,   add,   add,   add,   add,   add,   add,   add,   add,   add,   add,   clear,   getData,   getName,   getPatch,   getPerformers,   setName,   setPatch
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.SimpleInstrument Detail:
 public  void add(ModelPerformer[] performers) 
 public  void add(ModelPerformer performer) 
 public  void add(ModelInstrument ins) 
 public  void add(ModelPerformer[] performers,
    int keyFrom,
    int keyTo) 
 public  void add(ModelPerformer performer,
    int keyFrom,
    int keyTo) 
 public  void add(ModelInstrument ins,
    int keyFrom,
    int keyTo) 
 public  void add(ModelPerformer[] performers,
    int keyFrom,
    int keyTo,
    int velFrom,
    int velTo) 
 public  void add(ModelPerformer performer,
    int keyFrom,
    int keyTo,
    int velFrom,
    int velTo) 
 public  void add(ModelInstrument ins,
    int keyFrom,
    int keyTo,
    int velFrom,
    int velTo) 
 public  void add(ModelPerformer[] performers,
    int keyFrom,
    int keyTo,
    int velFrom,
    int velTo,
    int exclusiveClass) 
 public  void add(ModelPerformer performer,
    int keyFrom,
    int keyTo,
    int velFrom,
    int velTo,
    int exclusiveClass) 
 public  void add(ModelInstrument ins,
    int keyFrom,
    int keyTo,
    int velFrom,
    int velTo,
    int exclusiveClass) 
 public  void clear() 
 public Object getData() 
 public String getName() 
 public ModelPatch getPatch() 
 public ModelPerformer[] getPerformers() 
 public  void setName(String name) 
 public  void setPatch(Patch patch)