Package org.jjazz.midi.api.keymap
Class StandardKeyMapConverter
java.lang.Object
org.jjazz.midi.api.keymap.StandardKeyMapConverter
Note mapping methods between GS/GM2/XG/GM DrumMaps.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
accept
(DrumKit.KeyMap srcMap, DrumKit.KeyMap destMap) Check if this converter can convert notes between the specified KeyMaps.static int
convertKey
(DrumKit.KeyMap srcMap, int srcPitch, DrumKit.KeyMap destMap) static boolean
-
Constructor Details
-
StandardKeyMapConverter
public StandardKeyMapConverter()
-
-
Method Details
-
accept
Check if this converter can convert notes between the specified KeyMaps.- Parameters:
srcMap
-destMap
-- Returns:
-
convertKey
-
isStandardKeyMap
-