global var for midi port