checking some pre-conditions in midibuffer; corrected midi-channel
(off-by-one)