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 ModelPatch

    java.lang.Object
      javax.sound.midi.Patch
          com.sun.media.sound.ModelPatch

    public class ModelPatch

extends javax.sound.midi.Patch

A extended patch object that has isPercussion function. Which is necessary to identify percussion instruments from melodic instruments.

Author:
  Karl Helgason

Constructor Summary
`ModelPatch(int bank, int program)`
`ModelPatch(int bank, int program, boolean percussion)`

Method Summary
`boolean` | `isPercussion()`

Methods inherited from class javax.sound.midi.Patch
`getBank, getProgram`

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

Constructor Detail

### ModelPatch

    public ModelPatch(int bank,
                      int program)

### ModelPatch

    public ModelPatch(int bank,
                      int program,
                      boolean percussion)

Method Detail

### isPercussion

    public boolean isPercussion()

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