add basic midi messages processing