Soundbank, Soundbank#getInstruments, Patch, Synthesizer#loadInstrument(Instrument), MidiChannel#programChange(int, int)
| Access | Constructor and Description |
|---|---|
| protected | Instrument(Soundbank
sound bank containing the instrument soundbank, Patch the patch of this instrument patch, String the name of this instrument name, Class<?> the class used to represent the sample's data dataClass)Constructs a new MIDI instrument from the specified |
| Modifier and Type | Method and Description |
|---|---|
| public Patch | Returns: this instrument's patchObtains the |
| patch | back to summary |
|---|---|
| private final Patch patch Instrument patch. | |
| Instrument | back to summary |
|---|---|
| protected Instrument(Soundbank soundbank, Patch patch, String name, Class<?> dataClass) Constructs a new MIDI instrument from the specified
| |
| getPatch | back to summary |
|---|---|
| public Patch getPatch() Obtains the
| |