javax.sound.midi
public class Patch extends Object
Since: 1.3
| 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.
|
Parameters: bank the bank in which this Patch is located program the program in which this Patch is located
Returns: the bank in which this Patch is located
Returns: the program in which this Patch is located