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 Type
    Method
    Description
    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

      static MidiSynth.Finder getDefault()
      Find the first Finder implementation in the global lookup.
      Returns:
    • getMidiSynth

      MidiSynth getMidiSynth(String synthName, File synthFile)
      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