4.3. MIDI-mapping and Virtual Keyboard

Instead of playing back programmed patterns Hydrogen can also be used synthesize drum sounds for incoming MIDI or keyboard events.

Using the Input mode in the Options tab of the Main Menu you can choose between two different ways to emulate sound. Drumkit maps different MIDI notes or virtual keyboard strokes to different instruments of the current drumkit. Instrument, on the other hand, maps them to pitch-shifted samples of the instrument currently selected in the Pattern Editor. You can think of these modes as input versions of both Drumkit Editor and Piano Roll Editor.

Which MIDI note maps to which instrument (with Input mode set to Drumkit) is depending on the Note parameter in the Instrument Editor set for in each particular drumkit. An example for the GMRockKit is shown in the table below.

[Note]Note

In order to process incoming MIDI messages, you have to set up the overall MIDI support in the MIDI system tab of the Preferences dialog first.

Alternatively you can use the Virtual keyboard provided in Hydrogen. In Drumkit mode it maps a number of keys of your computer keyboard to different instruments in the drumkit depending on their position shown in the Pattern Editor. In Instrument mode the corresponding instrument number + 36 is used as note key for the currently selected instrument. The mapping is shown for the GMRockKit in table as well as in general in the figure below.

Table 4.1. MIDI Mapping

Hydrogen GMRockKit Virtual Key MIDI Note GM Standard
  35Bass Drum 2
KickZ36Bass Drum 1
StickS37Side Stick/Rimshot
SnareX38Snare Drum 1
Hand ClapD39Hand Clap
Snare RimshotC40Snare Drum 2
Floor TomV41Low Tom 2
Hat ClosedG42Closed Hi-hat
Tom 2B43Low Tom 1
Hat PedalH44Pedal Hi-hat
Tom 1N45Mid Tom 2
Hat OpenJ46Open Hi-hat
  47Mid Tom 1
  48High Tom 2
Crash249Crash Cymbal 1
  50High Tom 1
RideQ51Ride Cymbal 1
Hat Semi-OpenE52Chinese Cymbal
BellR53Ride Bell
  54Tambourine
Splash355Splash Cymbal
CowbellM56Cowbell
  57Crash Cymbal 2
  58Vibra Slap
Ride 2W59Ride Cymbal 2
  60High Bongo
  61Low Bongo
  62Mute High Conga
  63Open High Conga
  64Low Conga
  65High Timbale
  66Low Timbale
  67High Agogô
  68Low Agogô
  69Cabasa
  70Maracas
  71Short Whistle
  72Long Whistle
  73Short Güiro
  74Long Güiro
  75Claves
  76High Wood Block
  77Low Wood Block
  78Mute Cuíca
  79Open Cuíca
  80Mute Triangle
  81Open Triangle
Hat Semi-OpenE82 

[Note]Note

This table refers to the GMRockKit that is shipped with Hydrogen and loaded by default. For all other drumkits the order of instruments and thus their mapping to virtual keys as well as the assigned MIDI notes might differ.

When adjusting the mapping or creating your own custom drumkit try to follow the General MIDI (GM) standard as accurately as possible. This will ensure that switching between drumkits goes smoothly. You are of course free to place your instruments anywhere in your drumkit, and sometimes it isn't even possible to follow the GM standard, but it makes life a lot easier if you do.

For a better visualization you can also find the mapping of instrument positions (red numbers) to your PC's keyboard keys in the figure below.

Picture illustrating the mapping of Hydrogen's virtual keyboard to the layout of the computers' keyboard.
[Note]Note

When using German or French keyboard layout/local the overall mapping is still the same.