Added midi commands and simple midi test.