Package org.jjazz.midi.api
Interface MidiSynth.Finder
- All Known Implementing Classes:
MidiSynthManager.SynthFinder
- Enclosing class:
- MidiSynth
public static interface MidiSynth.Finder
Required by the MidiSynth serialization process : an implementation must be available in the global lookup.
-
Method Summary
Modifier and TypeMethodDescriptionstatic MidiSynth.Finder
Find the first Finder implementation in the global lookup.getMidiSynth
(String synthName, File synthFile) Search for a MidiSynth instance from the specified parameters.
-
Method Details
-
getDefault
Find the first Finder implementation in the global lookup.- Returns:
-
getMidiSynth
Search for a MidiSynth instance from the specified parameters.- Parameters:
synthName
- The MidiSynth name containing the bank. Can't be null.synthFile
- The file associated to synthName. Can be null if no file. If synthFile has no parent directory, search the default directory for MidiSynth definition files (e.g. .ins files).- Returns:
- Null if no MidiSynth found
-