I wrote a simple music tracker for this. It basically just reads the notes/rests from an array structure.