Reads midi input and plays notes