Make code compatible with MIDI Lib < 4.2
First implementation

Here: Sensors correspond to different notes (pitches), sensor steps to
different velocities.