Read note data from midi file