|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.sound.midi.Patch
public class Patch
A Patch describes where an Instrument is loaded on a Synthesizer.
Constructor Summary | |
---|---|
Patch(int bank,
int program)
Create a Patch object, specifying the bank and program in which this Patch is located. |
Method Summary | |
---|---|
int |
getBank()
Get the bank in which this Patch is located. |
int |
getProgram()
Get the program in which this Patch is located. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Patch(int bank, int program)
bank
- the bank in which this Patch is locatedprogram
- the program in which this Patch is locatedMethod Detail |
---|
public int getBank()
public int getProgram()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |