[GP6] Unexpected clefs after importing files for keyboards
2.01 version (ditto in 2.0.3 and previous, and in current master)
By creating a score for keyboard, we receive this in Guitar Pro 6 (treble clef/bass clef, logical)
1) When opening the file with 2.1 and previous versions, you get unexpected treble clef 8vb and bass clef 8vb. You have to add the right clefs.
3 Piano and bass.gpx
2) With the same file exported in Gp5 format, it's better: two treble clefs (so, good notation in top staff), but not for the second staff.
3 Piano and bass.gp5
Comments
In GP6 can you export a file with a single piano staff starting with a treble clef, and then another G clef (ottava bassa for example) in the second measure?
For the GP5 bug, I think GP loose the info during the export. I might be wrong. Can you open the GP5 file again in GP6? Do you get correct clef?
"Can you open the GP5 file again in GP6? Do you get correct clef?"
By opening this .gp5 file ( 3 Piano and bass.gp5) in GP6, I get: piano sound ; in GP timeline, two Acoustic piano staves ; but unexpected: the file displays a score for guitar (instrument name): S-Gt7 ?
"In GP6 can you export a file with a single piano staff starting with a treble clef, and then another G clef (ottava bassa for example) in the second measure?"
So, eg:
But, big problem by importing this .gpx file into MuseScore:
Indeed, I get a hang then crash ; no way to open: piano two clefs.gpx
The equivalent file in .gp5 format (opening, ok, but the second clef 8vb is not imported): piano two clefs.gp5
Awesome, thanks!
Could you add in "piano two clefs.gpx" all the clefs supported by GP6 ?
"Could you add in "piano two clefs.gpx" all the clefs supported by GP6 ?"
So, for this (image below), I get something like unexpected :) : piano various clefs.gpx
Result:
Ie:
- treble clef becomes: treble clef 8vb
- 8vb: no imported
- 8 va: ditto
- 15 mb: ditto
- 15 ma: ditto
- For bass clef: we receive bass clef 8vb
- For C3 clef: treble 8vb
- For C4 clef: no imported
There is 20 clefs in GP. See the liste below. If needed (?), I may complete the attached .gpx file for bass clef 8vb, 8 va, 15mb, etc. ? And so on for C clefs?
Ok. In 2.2 we don't have G Clef 15mb and we don't have ottavas/15mab for C clefs. Could you remove the measure with the "G Clef 15mb" from "piano various clefs.gpx" ?
Done: 1piano various clefs.gpx
@lasconic :
If it may be of help, here is a diff log of a tentative implementation I was trying to do while working on the ottava fix (and I think one "tick" correction erroneously entered the ottava branch), but I got stuck because of the treble clef for guitars:
- in GP files the guitar uses normal treble clef (and it behaves like a 1-ocatve transposing instrument); in MuseScore the guitar uses 8vb treble clef, I think since it is not possible to have different transposition properties between normal staff and a linked tablature staff.
With this patch the clef was set to normal treble and therefore the displayed notes were "wrong" (1 octave off) with respect to what one is accustomed to see for guitar (while by setting it as a transposing instrument, the tablature gets messed up).
(the patch needs probably some re-working)
Thanks @ABL and @cadiz1.
I used part of your patch and "1piano various clefs.gpx" is now part of the test suite. We probably want to test with a clef change in the middle of a measure though.
I added more instrument mapping, from #98786: [GP6] better mapping between GP instruments and MuseScore instruments but not all. I added a couple of instrument definition with a treble clef and a transposition in instruments.xml.
Tests welcome !
Fixed in branch 2.2, commit 91d8820753
fix #232841: [GP6] Unexpected clefs after importing files for keyboards
Fixed in branch master, commit addd1de21f
fix #232841: [GP6] Unexpected clefs after importing files for keyboards
Automatically closed -- issue fixed for 2 weeks with no activity.