add midi state