Package org.jjazz.midi.api.keymap
Class KeyMapXG_PopLatin
java.lang.Object
org.jjazz.midi.api.keymap.KeyMapXG_PopLatin
- All Implemented Interfaces:
Serializable,DrumKit.KeyMap
The XG PopLatin key map.
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyMapXG_PopLatinintThe pitch corresponding to the note name.getKeyName(int pitch) The isntrument name, eg "Kick" for the given key.getKeys(DrumKit.Subset... subsets) Get the notes of the given subset(s).getName()The name of the DrumKitKeyMap.getRange()The key getRange of this KeyMap.booleanisContaining(DrumKit.KeyMap otherKeyMap) True if this KeyMap contains otherKeyMap.toString()
-
Field Details
-
NAME
- See Also:
-
-
Method Details
-
getInstance
-
getName
Description copied from interface:DrumKit.KeyMapThe name of the DrumKitKeyMap.- Specified by:
getNamein interfaceDrumKit.KeyMap- Returns:
-
toString
-
isContaining
Description copied from interface:DrumKit.KeyMapTrue if this KeyMap contains otherKeyMap.E.g. the GM2 KeyMap contains the GM keymap (but not the other way around): a GM-keymap-based rhythm can be played on a GM2-keymap-based drums instrument. Should return true if this keymap==otherKeyMap.
- Specified by:
isContainingin interfaceDrumKit.KeyMap- Returns:
-
getRange
Description copied from interface:DrumKit.KeyMapThe key getRange of this KeyMap.- Specified by:
getRangein interfaceDrumKit.KeyMap- Returns:
-
getKeyName
Description copied from interface:DrumKit.KeyMapThe isntrument name, eg "Kick" for the given key.- Specified by:
getKeyNamein interfaceDrumKit.KeyMap- Returns:
- Can be null if pitch is not used by this DrumKitKeyMap.
-
getKey
Description copied from interface:DrumKit.KeyMapThe pitch corresponding to the note name.- Specified by:
getKeyin interfaceDrumKit.KeyMap- Returns:
- -1 if noteName is not used by this DrumKitKeyMap.
-
getKeys
Description copied from interface:DrumKit.KeyMapGet the notes of the given subset(s).- Specified by:
getKeysin interfaceDrumKit.KeyMap- Returns:
- Can be an empty list.
-