Implementing midi in