| java.lang.Object | ||||
| ↳ | javax.sound.midi.SoundbankResource | |||
| ↳ | javax.sound.midi.Instrument | |||
| ↳ | com.sun.media.sound.ModelInstrument | |||
| ↳ | com.sun.media.sound.SimpleInstrument | |||
A simple instrument that is made of other ModelInstrument, ModelPerformer objects.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| bank | |||||||||||
| name | |||||||||||
| parts | |||||||||||
| percussion | |||||||||||
| preset | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Obtains the sampled audio that is stored in this
SoundbankResource. | |||||||||||
Obtains the name of the resource.
| |||||||||||
Obtains the
Patch object that indicates the bank and program
numbers where this instrument is to be stored in the synthesizer. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.sun.media.sound.ModelInstrument
| |||||||||||
From class
javax.sound.midi.Instrument
| |||||||||||
From class
javax.sound.midi.SoundbankResource
| |||||||||||
From class
java.lang.Object
| |||||||||||
Obtains the sampled audio that is stored in this SoundbankResource.
The type of object returned depends on the implementation of the
concrete class, and may be queried using getDataClass.
Obtains the name of the resource. This should generally be a string descriptive of the resource.
Obtains the Patch object that indicates the bank and program
numbers where this instrument is to be stored in the synthesizer.