Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Can't parse some files #31
I was delighted to find alphaTab, it's a very cool piece of software. My use-case for it is simply loading .gpx files so I can print them.
Long story short, it doesn't seem to parse some/many of the files produced by the (Android) mobile app. After debugging it a bit, it seems the problem is that alphaTab is a bit too strict in parsing. Wild guess: the mobile app doesn't clean up the file contents after deleting notes, so the file ends up with "empty" notes that make alphaTab barf; maybe the desktop version does clean up and that's why you haven't seen the issue.
I haven't written any tests (I haven't even checked if you have tests for this), but I can send you a couple of files that failed but work now, if you want.
Thanks a lot for alphaTab, you rock!
Thanks for the patch. I will consider it in the new alphaTab version. The GPX parser is quite basic in the current alphaTab state. The main problem is that the structure of the GPX file is quite different from my current class model which makes it hard to parse.
Hmmm... actually the second hunk of that patch was kind of silly. The problem in that case seemed to be silences, not "broken notes".
I've created a second version of the patch that seems to support the same files, but actually shows the silences in them :-) See https://gist.github.com/3963781