Repeat marks not working
Hey,
I imported a .gp4 in Musescore. There are 2 bars that should be repeated. Play repetitions is activated, but when I play the score the playback stops, when it's reaching the repeat mark. Anyone knows how to fix this?
I deleted all the unecessary things in the file.
Attachment | Size |
---|---|
repeat_not_working.mscz | 10.28 KB |
Comments
I don't know why, I found this : Clic the last measure, click right, go to Propieties , at the bottom on right, there is "number of répetitions, it will be on 1, put it on 2.
But I don't understand why repetitions does not work
In reply to I don't know why, I found by Raymond Wicquart
@radioactix see the attached
In reply to I don't know why, I found by Raymond Wicquart
That works. Thanks for the fast reply! :)
In reply to That works. Thanks for the by radioactix
It would be very helpful if you could attach the gp4 file. Maybe we can fix the importer.
In reply to It would be very helpful if by [DELETED] 5
I used Tuxguitar to export the *.gp4, so maybe this is the error source. In Tuxguitar you enter 1 as the repetition count for 2 repetitions. I attached the file anyway.
In reply to I used Tuxguitar to export by radioactix
Maybe (once again) a problem with the naming, in MuseScore's measure properties what is called "repeat Count" really is a "play count". Repeat once -> play twice.
Maybe the fix is as simple as changing
m->setRepeatCount(bars[i].repeats);
to
m->setRepeatCount(bars[i].repeats + 1);
In mscore/importgtp.cpp lines 765 and 1884 or by changing
bar.repeats = readUChar();
to
bar.repeats = readUChar() + 1;
in mscore/importgtp4.cpp, line 538 and mscore/importgtp5.cpp line 561 and mscore/importgtp.cpp, lines 1222 and 1811?
In reply to Maybe (once again) a problem by Jojo-Schmitz
"In Tuxguitar you enter 1 as the repetition count for 2 repetitions."
Exact.
"I used Tuxguitar to export the *.gp4, so maybe this is the error source."
Probably. I see the same problem by saving this test file under gp3.
Original Tux test file: Tux.tg
After saving under gp3: gp3.gp3
Under gp4: gp4.gp4
But works with gp5: gp5.gp5
(the problem is solved with gp3 and gp4, by entering 2 as the repetition.
In reply to "In Tuxguitar you enter 1 as by cadiz1
The question is: What did GP do?
In reply to The question is: What did GP by [DELETED] 5
The repeats work by loading the test files - created by TuxGuitar - with GP5 and GP6 (I don't know for previous versions, I don't own)
In reply to The repeats work by loading by cadiz1
Thank you for the test files. This is now fixed in master and 2.0.4 branches.