[Guitar Pro 7] Support of the new .gp format

• Aug 26, 2017 - 17:42
Type
Functional
Severity
S5 - Suggestion
Status
PR created
Regression
No
Workaround
No
Project

The last major version of Guitar Pro, ie Guitar Pro 7, was released last April 2017.

The new .gp format is currently not supported by MuseScore


Comments

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.

  • 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 ?

In reply to 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:
View1.jpg
GP7:
View2.jpg

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")
view3.jpg

Attachment Size
View1.jpg 11.64 KB
View2.jpg 8.94 KB
view3.jpg 8.3 KB

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 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

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.

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.)