midi is reading in and plays nice with the mian() function.