Class FixMidiMix

java.lang.Object
org.jjazz.outputsynth.api.FixMidiMix

public class FixMidiMix extends Object
Helper class to check and fix MidiMix/OutputSynth consistency.

  • Constructor Details

    • FixMidiMix

      public FixMidiMix()
  • Method Details

    • checkAndPossiblyFix

      public static boolean checkAndPossiblyFix(MidiMix midiMix, boolean showFixMidiMixDialog)
      Check and possibly fix midiMix to be consistent with the default OutputSynth.
      Parameters:
      midiMix -
      showFixMidiMixDialog - If true (and if not running in headless mode), show user a confirmation dialog. User might choose to not fix the midiMix.
      Returns:
      True if midiMix was fixed
    • checkAndPossiblyFix

      public static boolean checkAndPossiblyFix(MidiMix midiMix, OutputSynth outputSynth, boolean showFixMidiMixDialog)
      Check and possibly fix midiMix to be consistent with the specified outputSynth.
      Parameters:
      midiMix -
      outputSynth -
      showFixMidiMixDialog - If true (and if not running in headless mode), show user a confirmation dialog. User might choose to not fix the midiMix.
      Returns:
      True if midiMix was fixed