implementing midi module
test script