add midi input to example