public class ModelMappedInstrument extends ModelInstrument
Constructor and Description |
---|
ModelMappedInstrument(ModelInstrument ins,
javax.sound.midi.Patch patch) |
Modifier and Type | Method and Description |
---|---|
ModelChannelMixer |
getChannelMixer(javax.sound.midi.MidiChannel channel,
javax.sound.sampled.AudioFormat format) |
java.lang.Object |
getData() |
ModelDirector |
getDirector(ModelPerformer[] performers,
javax.sound.midi.MidiChannel channel,
ModelDirectedPlayer player) |
ModelPerformer[] |
getPerformers() |
getChannels, getKeys, getPatchAlias
public ModelMappedInstrument(ModelInstrument ins, javax.sound.midi.Patch patch)
public java.lang.Object getData()
getData
in class javax.sound.midi.SoundbankResource
public ModelPerformer[] getPerformers()
getPerformers
in class ModelInstrument
public ModelDirector getDirector(ModelPerformer[] performers, javax.sound.midi.MidiChannel channel, ModelDirectedPlayer player)
getDirector
in class ModelInstrument
public ModelChannelMixer getChannelMixer(javax.sound.midi.MidiChannel channel, javax.sound.sampled.AudioFormat format)
getChannelMixer
in class ModelInstrument