Parse and extract musical and meta information from GP* files
Hello,
I was wondering if there is a module in the MuseScore code that can be used to parse and extract musical and meta-information from GP* (GP3, GP4, GP5, etc.) files. For example, if I have a GP4 file with two guitar tracks, I would like to extract each of these tracks separately as a sequence of MIDI symbols (or any other equally descriptive format). Additionally, any other information, such as time signature, key, etc. of the song may also be required.
I want to do this either through code (preferably C or Python) or the command-line. I found these two links from an initial Google search...
https://github.com/dwursteisen/gp-parser
http://dguitar.sourceforge.net/javadocs/DGuitar-dev/DGuitar/docs/dguita…
I might just end up using one of these, but I wanted to know if you guys were aware of any other projects. Any hacks/ideas would be great too!
Thanks!
Srikanth
Comments
MuseScore 2.0 will be able to import GP3 to GP5. We are still looking for someone to make GP6 happen :) You can try a nightly build on mac or windows and you can get the code. See [[nodetitle:Development]]
You can check TuxGuitar otherwise. They have parsing code for GP3-GP6... but it's not maintained.
In reply to MuseScore 2.0 will be able to by [DELETED] 5
Thanks! So you're saying that the nightly build would have the GP3-GP5 parser implemented, right? I'm downloading one of them (mscore-r5564.bz2) right now. I'll check it out, and maybe even TuxGuitar and get back to you!
Srikanth
In reply to Thanks! So you're saying that by [DELETED] 203204
Yes nightlies should be able to import GP3 to GP5 via File > Open. If not, it's a bug.