The main methods to override are:
getPerformer, getDirector, getChannelMixer.
Performers are used to define what voices which will
playback when using the instrument.
ChannelMixer is used to add channel-wide processing
on voices output or to define non-voice oriented instruments.
Director is used to change how the synthesizer
chooses what performers to play on midi events.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public ModelChannelMixer | |
| public final boolean[] | |
| public ModelDirector | |
| public final String[] | |
| public final Patch | |
| public ModelPerformer[] |
| ModelInstrument | back to summary |
|---|---|
| protected ModelInstrument(Soundbank soundbank, Patch patch, String name, Class<?> dataClass) | |
| getChannelMixer | back to summary |
|---|---|
| public ModelChannelMixer getChannelMixer(MidiChannel channel, AudioFormat format) | |
| getChannels | back to summary |
|---|---|
| public final boolean[] getChannels() | |
| getDirector | back to summary |
|---|---|
| public ModelDirector getDirector(ModelPerformer[] performers, MidiChannel channel, ModelDirectedPlayer player) | |
| getKeys | back to summary |
|---|---|
| public final String[] getKeys() | |
| getPatchAlias | back to summary |
|---|---|
| public final Patch getPatchAlias() | |
| getPerformers | back to summary |
|---|---|
| public ModelPerformer[] getPerformers() | |