implemented midi communication