APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.media.sound

public final Class ModelMappedInstrument

extends ModelInstrument
Class Inheritance
Imports
javax.sound.midi.MidiChannel, .Patch, javax.sound.sampled.AudioFormat

This class is used to map instrument to another patch.
Author
Karl Helgason

Field Summary

Modifier and TypeField and Description
private final ModelInstrument

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ModelChannelMixer
public Object
getData()

Implements abstract javax.sound.midi.SoundbankResource.getData.

Obtains the sampled audio that is stored in this SoundbankResource.

public ModelDirector
public ModelPerformer[]
Inherited from com.sun.media.sound.ModelInstrument:
getChannelsgetKeysgetPatchAlias

Field Detail

insback to summary
private final ModelInstrument ins

Constructor Detail

ModelMappedInstrumentback to summary
public ModelMappedInstrument(ModelInstrument ins, Patch patch)

Method Detail

getChannelMixerback to summary
public ModelChannelMixer getChannelMixer(MidiChannel channel, AudioFormat format)

Overrides com.sun.media.sound.ModelInstrument.getChannelMixer.

Annotations
@Override
getDataback to summary
public Object getData()

Implements abstract javax.sound.midi.SoundbankResource.getData.

Doc from javax.sound.midi.SoundbankResource.getData.

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.

Annotations
@Override
getDirectorback to summary
public ModelDirector getDirector(ModelPerformer[] performers, MidiChannel channel, ModelDirectedPlayer player)

Overrides com.sun.media.sound.ModelInstrument.getDirector.

Annotations
@Override
getPerformersback to summary
public ModelPerformer[] getPerformers()

Overrides com.sun.media.sound.ModelInstrument.getPerformers.

Annotations
@Override