title: Reading and Parsing a .MID file with Lua?
body: <p>I am trying to read a .MID file with Lua and then parsing it into a table with all of the notes (ie {"A", "B#", "Cb", etc.}) but I cannot manage to read the file correctly. I use io.open and file:lines() but writing those same lines into another midi file results in a non-working midi file.</p>
  
  <p>Is there any easier way to read and parse a .MID file with Lua?</p>