Seperated out midi handling