Package org.jjazz.outputsynth.api
Class DefaultRhythmVoiceInstrumentProviderImpl
java.lang.Object
org.jjazz.outputsynth.api.DefaultRhythmVoiceInstrumentProviderImpl
- All Implemented Interfaces:
RhythmVoiceInstrumentProvider
public class DefaultRhythmVoiceInstrumentProviderImpl
extends Object
implements RhythmVoiceInstrumentProvider
Default implementation of this service provider
-
Field Summary
Fields inherited from interface org.jjazz.midimix.spi.RhythmVoiceInstrumentProvider
DEFAULT_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionFind the most appropriate Instrument on the system to render the specified RhythmVoice in a MidiMix.getId()
The id of the provider.
-
Constructor Details
-
DefaultRhythmVoiceInstrumentProviderImpl
public DefaultRhythmVoiceInstrumentProviderImpl()
-
-
Method Details
-
getId
Description copied from interface:RhythmVoiceInstrumentProvider
The id of the provider.- Specified by:
getId
in interfaceRhythmVoiceInstrumentProvider
- Returns:
-
findInstrument
Description copied from interface:RhythmVoiceInstrumentProvider
Find the most appropriate Instrument on the system to render the specified RhythmVoice in a MidiMix.- Specified by:
findInstrument
in interfaceRhythmVoiceInstrumentProvider
- Returns:
- Can't be null. It may be the VoidInstrument for drums/percussion.
-