I attach a document containing the first steps into the documentation of the GP 7 format, in order to be able to import it. Feel free to put this file available so that anyone can improve it.
I have problems downloading the gpx files. I download them (from the list, by right clicking and then "save as..."
but what I see in my hardisk is an xml file generated by github. Can anyone help me ?
I do have a couple of questions for people who knows GP better than I do.
Is it possible to display all instruments in standard notation and then each instrument in tablature, or in standard + tablature? (It seems the format would allow that..)
Is it possible to have a score with 4 instruments but display only 2 of them somehow?
For those who knows MuseScore et GP, what would be the better mapping of this information (mainly is an instrument displayed with standard, tab or rhythmic notation) into MuseScore ?
I do not know if I can answer your questions, but I will do my best to share the little knowledge I have of GP.
In GP all the time there is an "internal" representation of a music track that contains both notation and tablature. You can choose to "hide" the tablature, but internally it is always there. (I discovered that phenomena when GP denied me to create a pull off in a score with only notation. I suspected that the two notes had invisibly been assigned to different strings. I fixed it as I would do with if the tablature had been visible.)
If you have many instruments ( tracks) you can choose between viewing a single track or viewing them all "multitrack view". but I have not seen that you can choose individual tracks to be invisible.
on the the track property window you can choose is if you want to see only notation, only tablature or both, and you can change it by pressing a button and then the score view is updated instantaneously. ( which shows once again that score+ tablature exist all the time)
so the answer to the question "Is it possible to have a score with 4 instruments but display only 2 of them somehow?" the answer is "NO, not that I know". You can see one instrument at a time, or all.
"Is it possible to display all instruments in standard notation and then each instrument in tablature, or in standard + tablature? (It seems the format would allow that..)"
You can choose for each instrument ( track) if you want to see notation, tablature of both. This affects all the score. You can quickly change that decision. And it is PER instrument, so if you have 2 guitars you can see one guitar in tablature only and the other in notation, if you want.
"Is it possible to have a score with 4 instruments but display only 2 of them somehow?" the answer is "NO, not that I know". You can see one instrument at a time, or all."
Not really Ariel, the answer is: you can
In multi-track mode (F3) - so, all instruments are now displayed -, you can choose/select in the Timeline (GP6 et GP7) which instruments remain displayed on the score or not, by ticking on the "eye symbol" (View/Visibilité).
GP6:
GP7:
And so, now, eg, only the 2 electric guitars are shown on the score (and so, this is the equivalent of "our" feature to toggle visibility of instruments in the dialog box "I")
Is it possible to display all instruments in standard notation and then each instrument in tablature, or in standard + tablature? (It seems the format would allow that..)
Apparently no then.
Is it possible to have a score with 4 instruments but display only 2 of them somehow?
Yes, but it's not like our linked part, it's more like our invisible instruments from the i dialog.
I don't know (yet) where this visibility is stored in the GP file. The PartConfiguration file looks similar if I hide instruments or not.
I have PartConfiguration almost "decoded" but there is one byte I don't understand yet. The purple one in the doc. Maybe one of you can check the "Hard Rock" demo and tell me what the guitar and the bass have, that the drums don't have, or even a new created score with a guitar doesn't have.
I opened the "hard rock" demo, I separately created a one track guitar score, And then I witched back and forth between windows to see if there was any difference. I did not find any.
One possibility to find out the usage of the "purple" byte: write a small tool (maybe a script) that every time you press a key it decompresses the .gp file, parses the PartConfiguration file and shows the purple byte and then waits again for a keypress to start over. With this automated tool then it is faster to experiment: deleting and re-adding the guitar track in the Hard rock score and see what happens. Deleting other tracks...deleting measures...and getting at one key press the result (purple byte). If you write such scrip I would gladly help also experimenting
Ok. So I can confirm the purple byte is for mmRest. It's 1 when mmRest is on and 0 when Off.
Potentially, there is another byte that could mean something for each part or maybe it's just reserved for future use. Some can think of something which is linked to a track/part and could be coded on this byte? I tried to change several settings to make it change, but without success so far.
Also, I don't know where instruments visibility is stored yet, but I would bet on the LayoutConfiguration file :) Some more guess work to do.
See also https://musescore.org/en/node/264085, apparently GP7's GPX export (as a workaround for MuseScore not yet supporting this new GP file format) causes issues (read: crashes) with import in MuseScore
Any further progress in reverse-engineering the .GP file format? I want to integrate it into different tool, but the best description of its structure I could find seems to be that googledoc.
So apparently we're talking about import support only, the idea of being able to export to GP has never been on the table? (I just looked into importing from MuseScore into the free GP equivalent, TuxGuitar, and that appears to be impossible ATM.)
Comments
I attach a document containing the first steps into the documentation of the GP 7 format, in order to be able to import it. Feel free to put this file available so that anyone can improve it.
You see attached an example of a very simple score in Guitar Pro 7, consisting of 2 measures, 8 notes and the xml representation of that score.
It would be very valuable if someone could download all our GPX files and convert them to GP https://github.com/musescore/MuseScore/tree/master/mtest/guitarpro
Potentially, some might need to be completed if new symbols are available in GP7.
We can collaborate here https://docs.google.com/document/d/1bDQ4wwWg09F_lScjcw1b2TitmRyLFI0FJyy…
In reply to It would be very valuable if… by [DELETED] 5
I will do that !
In reply to It would be very valuable if… by [DELETED] 5
I have problems downloading the gpx files. I download them (from the list, by right clicking and then "save as..."
but what I see in my hardisk is an xml file generated by github. Can anyone help me ?
@ArielAr, left-click on each of them to go to their github preview page, then click the Download button there (first button on the right side)
see for example https://github.com/musescore/MuseScore/blob/master/mtest/guitarpro/acce… as the first one
From Ariel
I also made sure that test files created with version 3,4,5 also exist for version 6 ( *.gpx)
I think I have the PartConfiguration more or less right
https://docs.google.com/document/d/1bDQ4wwWg09F_lScjcw1b2TitmRyLFI0FJyy…
I do have a couple of questions for people who knows GP better than I do.
For those who knows MuseScore et GP, what would be the better mapping of this information (mainly is an instrument displayed with standard, tab or rhythmic notation) into MuseScore ?
In reply to I think I have the… by [DELETED] 5
Hello !
I do not know if I can answer your questions, but I will do my best to share the little knowledge I have of GP.
In GP all the time there is an "internal" representation of a music track that contains both notation and tablature. You can choose to "hide" the tablature, but internally it is always there. (I discovered that phenomena when GP denied me to create a pull off in a score with only notation. I suspected that the two notes had invisibly been assigned to different strings. I fixed it as I would do with if the tablature had been visible.)
If you have many instruments ( tracks) you can choose between viewing a single track or viewing them all "multitrack view". but I have not seen that you can choose individual tracks to be invisible.
on the the track property window you can choose is if you want to see only notation, only tablature or both, and you can change it by pressing a button and then the score view is updated instantaneously. ( which shows once again that score+ tablature exist all the time)
so the answer to the question "Is it possible to have a score with 4 instruments but display only 2 of them somehow?" the answer is "NO, not that I know". You can see one instrument at a time, or all.
"Is it possible to display all instruments in standard notation and then each instrument in tablature, or in standard + tablature? (It seems the format would allow that..)"
You can choose for each instrument ( track) if you want to see notation, tablature of both. This affects all the score. You can quickly change that decision. And it is PER instrument, so if you have 2 guitars you can see one guitar in tablature only and the other in notation, if you want.
I hope this helps
"Is it possible to have a score with 4 instruments but display only 2 of them somehow?" the answer is "NO, not that I know". You can see one instrument at a time, or all."
Not really Ariel, the answer is: you can
In multi-track mode (F3) - so, all instruments are now displayed -, you can choose/select in the Timeline (GP6 et GP7) which instruments remain displayed on the score or not, by ticking on the "eye symbol" (View/Visibilité).
GP6:
GP7:
And so, now, eg, only the 2 electric guitars are shown on the score (and so, this is the equivalent of "our" feature to toggle visibility of instruments in the dialog box "I")
In reply to "Is it possible to have a… by cadiz1
You are right. I had missed that feature. Sorry.
No worry Ariel. I am so glad to have a partner to help to this support :)
And I leave you the priority with pleasure.
Summary
Is it possible to display all instruments in standard notation and then each instrument in tablature, or in standard + tablature? (It seems the format would allow that..)
Apparently no then.
Is it possible to have a score with 4 instruments but display only 2 of them somehow?
Yes, but it's not like our linked part, it's more like our invisible instruments from the i dialog.
I don't know (yet) where this visibility is stored in the GP file. The PartConfiguration file looks similar if I hide instruments or not.
I have PartConfiguration almost "decoded" but there is one byte I don't understand yet. The purple one in the doc. Maybe one of you can check the "Hard Rock" demo and tell me what the guitar and the bass have, that the drums don't have, or even a new created score with a guitar doesn't have.
In reply to Summary… by [DELETED] 5
I opened the "hard rock" demo, I separately created a one track guitar score, And then I witched back and forth between windows to see if there was any difference. I did not find any.
One possibility to find out the usage of the "purple" byte: write a small tool (maybe a script) that every time you press a key it decompresses the .gp file, parses the PartConfiguration file and shows the purple byte and then waits again for a keypress to start over. With this automated tool then it is faster to experiment: deleting and re-adding the guitar track in the Hard rock score and see what happens. Deleting other tracks...deleting measures...and getting at one key press the result (purple byte). If you write such scrip I would gladly help also experimenting
Let me know if i can help in any other matter
The purple byte seems related to multi measure rests but I can't find how to do that in the UI
More later :)
Multi measure rests are get with shortcut "Ctrl + R" (in Measure menu)
And rests: shortcut "R"
Ok. So I can confirm the purple byte is for mmRest. It's 1 when mmRest is on and 0 when Off.
Potentially, there is another byte that could mean something for each part or maybe it's just reserved for future use. Some can think of something which is linked to a track/part and could be coded on this byte? I tried to change several settings to make it change, but without success so far.
Also, I don't know where instruments visibility is stored yet, but I would bet on the LayoutConfiguration file :) Some more guess work to do.
I started here https://github.com/musescore/MuseScore/pull/3324
See also https://musescore.org/en/node/264085, apparently GP7's GPX export (as a workaround for MuseScore not yet supporting this new GP file format) causes issues (read: crashes) with import in MuseScore
Any further progress in reverse-engineering the .GP file format? I want to integrate it into different tool, but the best description of its structure I could find seems to be that googledoc.
Nothing yet. I hope you will share your knowledge!
see https://github.com/musescore/MuseScore/pull/3324 (which needs a rebase and probably more work)
Also https://github.com/musescore/MuseScore/pull/4706 now
So apparently we're talking about import support only, the idea of being able to export to GP has never been on the table? (I just looked into importing from MuseScore into the free GP equivalent, TuxGuitar, and that appears to be impossible ATM.)