API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sound.midi. Patch View Source
Author(s)
Kara Kytle
Since
Version
Serial
Hierarchy
 Object
      Patch
Implements
Subclasses
Description
public class Patch
  A Patch object represents a location, on a MIDI synthesizer, into which a single instrument is stored (loaded).
Constructors
public Patch (int bank, int program)
  Constructs a new patch object from the specified bank and program numbers.
Methods
Hide/Show inherited methods
public int getBank ()
  Returns the number of the bank that contains the instrument whose location this Patch specifies.
public int getProgram ()
  Returns the index, within a bank, of the instrument whose location this Patch specifies.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar