javax.sound.midi
public abstract class Instrument extends SoundbankResource
Since: 1.3
Constructor Summary | |
---|---|
protected | Instrument(Soundbank soundbank, Patch patch, String name, Class<?> dataClass)
Create a new Instrument.
|
Method Summary | |
---|---|
Patch | getPatch()
Get the patch for this instrument.
|
Parameters: soundbank the Soundbank containing the instrument. patch the patch for this instrument name the name of this instrument dataClass the class used to represent sample data for this instrument
Returns: the patch for this instrument