Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
public class: ModelPatch [javadoc | source]
java.lang.Object
   javax.sound.midi.Patch
      com.sun.media.sound.ModelPatch
A extended patch object that has isPercussion function. Which is necessary to identify percussion instruments from melodic instruments.
Constructor:
 public ModelPatch(int bank,
    int program) 
 public ModelPatch(int bank,
    int program,
    boolean percussion) 
Method from com.sun.media.sound.ModelPatch Summary:
isPercussion
Methods from javax.sound.midi.Patch:
getBank,   getProgram
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.media.sound.ModelPatch Detail:
 public boolean isPercussion()