Class StandardKeyMapConverter

java.lang.Object
org.jjazz.midi.api.keymap.StandardKeyMapConverter

public class StandardKeyMapConverter extends Object
Note mapping methods between GS/GM2/XG/GM DrumMaps.
  • Constructor Details

    • StandardKeyMapConverter

      public StandardKeyMapConverter()
  • Method Details

    • accept

      public static boolean accept(DrumKit.KeyMap srcMap, DrumKit.KeyMap destMap)
      Check if this converter can convert notes between the specified KeyMaps.
      Parameters:
      srcMap -
      destMap -
      Returns:
    • convertKey

      public static int convertKey(DrumKit.KeyMap srcMap, int srcPitch, DrumKit.KeyMap destMap)
    • isStandardKeyMap

      public static boolean isStandardKeyMap(DrumKit.KeyMap map)