Final Barline not at End of Score

• Jan 20, 2019 - 05:11

I have a song with three variations in the middle of a long repeat, with the third variation ending the song before reaching the end of the repeat. The problem is that playback fails to stop on the third variation.

To make debugging simple, I have attached PDF and MCSZ files with a simple eight measure "ABDABDAC" example. If you open the attached PDF you will see the following:

A. Measure A is the default beginning of the repeat.
B. Measure B volta #1 is set to "repeat list 1, 2".
C. Measure C volta #3 is set to "repeat list 3" and also has a Final Barline.
D. Measure D has the Repeat ending barline and is the last measure in the score.

Now, if the play count of measure D is set to 2 (the default), it does not repeat the third time to reach the final AC variation. But, if the play count of measure D is set to 3 then playback does go back to A but not stop at the final barline in measure C.

In other words, measure D play count 2 plays ABDABD, and measure D play count 3 plays ABDABDACD. How do I play ABDABDAC? If anyone provides a solution I can then apply the solution to my original score from my previous topic.

P.S. If this is a bug, I'm pretty sure the fix is going to be to give priority to the final barline, stopping playback wherever / whenever it appears, even if it is not the very last measure of the score.


In reply to by Shoichi

Thanks Shoichi. Unfortunately, while there are many ways to get it to work with a change in score -- yours included -- my sample case is a simplified version of the attached real score I imported from a college class. Our professor handed us photocopies from her score book, and I am using MuseScore to exactly duplicate it and create rehearsal files. See the attachment, second page, "3. (Final Ending)" on the middle system.

The only change I made from the original was to expand volta "1.2." because the original cheated on the final eight note of volta 2.

Attachment Size
Today2.pdf 318.01 KB

In reply to by Jojo-Schmitz

Thanks Jo-jo, but I can't get it to work with Fine and D.C. al Fine. This is a tough problem that might require a code change to solve.

I understand D.C. now, which should have worked for yesterday's test case. But, since my original score repeats starting at measure 6, I added an intro to my test case. So, now, I am trying to get X-ABD-ABD-AC. But, with Fine and D.S. al Fine, I get X-ABD-ABD-ACD-AC. So I need to get rid of the extra "...D-AC."

Maybe it's a feature request, but if playback would just stop whenever the code hits a measure marked Fine inside a volta, it would have been worked correctly without even needing a DS or DC.

I'm attaching XABCD.mcsz and Today.mcsz, and will greatly appreciate it if anybody can find the right combination of settings. Whatever works for "XABCD" without adding any measures should solve the same problem for "Today."

In the meantime, instead of exporting an MP3 rehearsal file for my "Today" score, I've been forced to just record the playback using my iPhone voice recorder, hitting escape when the X-ABD-ABD-AC[D-AC] gets to the first C. From there I've saved the audio recording to a rehearsal file to share with my classmates.

Attachment Size
XABCD.mscz 6.09 KB
Today.mscz 28.83 KB

In reply to by wkrasl

TYou can make MuseScore ignore the rules of music notation, but human musicians won't :-) By definition, Fine only applies after a DS or DC. Best to simply find a way to get the playback you want while following the rules of standard notation - then both MuseScore and human musicians will play it correctly.

To get X ABD ABD AC, write

X |: (segno)A(to coda)BD :| DS al Coda
Coda: C

That is, no volta, but have repeats around ABD, followed by DS al Coda, with the segno at A and the "to coda" just before B. Then have C as your coda. Might be other ways to do it too, but that seems most straightforward.

Another would be X |: A (1,2) BD :| (3) C

That is, have BD in your first volta marked 1,2, C in your second volta marked 3.

In reply to by wkrasl

I was trying to get this to work without adding any measures or expanding any repeats, since my objective was to apply the solution to the original "Today" score for my music class.

However, it plays correctly with D.S. in measure C and Segno in a single appended rest measure. And, with empty staves hidden that appended rest is so insignificant I'm not even going to bother hiding it.

Now, instead escaping out of of playback for an audio recording, I can correctly export Today.mp3 for class rehearsals without any effort.

Thank you everybody for working on this for me. Case closed. :)

Attachment Size
XABCD.mscz 6.56 KB
Today.mscz 30.15 KB

Do you still have an unanswered question? Please log in first to post your question.