Midi Handler Class.