Added Midi interface for calibration stages