Class OutputSynthManager.DefaultRhythmVoiceInstrumentProviderImpl
java.lang.Object
org.jjazz.outputsynth.spi.OutputSynthManager.DefaultRhythmVoiceInstrumentProviderImpl
- All Implemented Interfaces:
RhythmVoiceInstrumentProvider
- Enclosing interface:
OutputSynthManager
public static class OutputSynthManager.DefaultRhythmVoiceInstrumentProviderImpl
extends Object
implements RhythmVoiceInstrumentProvider
Implement the RhythmVoiceInstrumentProvider service using the default OutputSynth provided by the OutputSynthManager.
-
Field Summary
Fields inherited from interface org.jjazz.midimix.spi.RhythmVoiceInstrumentProvider
DEFAULT_ID -
Constructor Summary
Constructors -
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:RhythmVoiceInstrumentProviderThe id of the provider.- Specified by:
getIdin interfaceRhythmVoiceInstrumentProvider- Returns:
-
findInstrument
Description copied from interface:RhythmVoiceInstrumentProviderFind the most appropriate Instrument on the system to render the specified RhythmVoice in a MidiMix.- Specified by:
findInstrumentin interfaceRhythmVoiceInstrumentProvider- Parameters:
rv-- Returns:
- Can't be null. It may be the VoidInstrument for drums/percussion.
-