Complicated Voltas

• Mar 22, 2024 - 13:32

First, a general statement: When I use 1st and 2nd endings, the voltas work just fine. The playback does what I hope it will do, and there aren't any surprises. But as soon as I start modifying the voltas and adding 3rd or 4th endings, or sections that are played multiple times, things become much less reliable.

I've attached a specific file that I'm having trouble with. All is working until p. 3, where the voltas become more complicated. What I want to happen is for the repeat sign at the end of bar 33 to go back to 22 twice, then proceed to bar 34 the second time. As it stands, I can't get it to work, and I can't get the music from 34 on to play no matter what I do. Any suggestions on how to make this work?

I'm using MuseScore 4.2.1 on a Mac running Sonoma 14.3.1.

Attachment Size
Volta Issue.mscz 49.24 KB

Comments

In reply to by Jojo-Schmitz

Sorry, but your first sentence is incorrect. The repeat is played twice, just as the music in the volta marked "1,2" is played twice. The third time, the "1,2" volta is jumped over, hence the "3,4" volta. If there is logic in giving a bar that is played twice to a play count of 3, I'd love to hear it. And to be clear, I'm not upset, tut I don't understand this at all, no matter how I try to get my mind around it. As much as MuseScore tries to have a good "out of the box" experience, the hoops that have to be jumped through to make voltas work the way they should is unfortunate, to put it mildly.

I've attached a newer revision of the same file, with another volta issue. Try as I may, I can't get the music at bar 39 to play. I've fiddled around with the play count, but to no avail. I really think this should be simpler and more intuitive than it is. Once again, if there is a logic to how the current method works, I'd love to hear it.

Attachment Size
Volta Issue 2.mscz 77.52 KB

In reply to by chrismassa1

The voltas don't change how often a repeat is play, just when and how often a certain ending (AKA volta) is played

The the repeat in measure 39 isn't working as there's no corresponding start repeat. any they always come in pairs, start repeat and end repeat (where the start repeat is impictily the 1st measure and the end repeat is implicitly the last measure, so you can drop those), repeat barlines don't nest.

In reply to by chrismassa1

That's because the piece isn't finished yet.

Be advised that voltas, repeats, jumps, etc, wherever used, may be interconnected so that playback could behave badly if, for instance, an end repeat barline is missing its other (paired) start repeat barline; or a D.S. has no complementary S; or a To Coda intends to go somewhere in the score not yet notated.
So... be careful if you expect final playback behavior on an unfinished score, especially one with "complicated" anything.

@chrismassa1... Earlier you wrote:
Can you help me understand the logic of this? When the bar is only played twice, I don't understand why the play count would be set to 3. I'm genuinely curious.

First off...
Every measure necessarily gets played at least one time (else why bother notating it?); and in a simple repeat, with an end repeat barline (no volta), the 'Play count' is (automatically) set in 'Measure properties' to the number 2. (BTW: 'Play count' cannot be set to zero.)

Now, consider this example with voltas:
Volta playback.png

The volta labelled 1. 2. 4. has the 'Measure properties' play count set to 4, meaning that after its first play, it can send the playback engine back to the beginning three times. (1+3 = 4)
The volta labelled 3. has the 'Measure properties' play count set to 2, so after its first play, it can send the playback engine back to the beginning only one time. (1+1 = 2)
The volta labelled 5. has no repeat barline, and no play count is needed because as mentioned already, every measure gets played at least one time.

So... upon playback, MuseScore begins to play the first time, reaches the 1. 2. 4. volta and uses up one of its three available "sendback" commands. Two "sendback" (SB) commands then remain as the playback engine begins the second play. It reaches the 1. 2. 4. volta again and uses up another SB command (so now one SB command remains) as the playback engine commences the third play.
On the third play, it "sees" and skips to the 3. volta, plays it (using up the single SB command available) as it returns to the beginning for the fourth time.
This fourth time, the playback engine "sees" the 4. of the 1. 2. 4. volta and honors its last remaining SB command by playing the beginning for the fifth time and finishing at the 5. volta.

N.B.: The 'Repeat list" specifies the playing order of the alternate endings (Voltas). It is found in the Properties panel under 'Volta'. Use the 'Style' tab.
The "Text" tab is where the numbers (e.g., 1. 2. 4.) that appear in the score under the volta line are entered.

Attachment Size
Volta.mscz 14.85 KB

In reply to by Jm6stringer

You have explained very well why this is the case.
The question comes up again and again and I didn't understand it at first either.

However, it didn't necessarily have to be implemented this way. The software could also add this '+1' in a hidden way. However, if this were to be changed now, there would probably be problems with compatibility with old files. That's why it will have to stay that way.
In addition, you can also enter a higher number without there being an error. This is also difficult to explain.

I have to admit that I can't see why the repeat list wouldn't have been enough. Actually, only if you use more than a single repeat without volta will you need the play count.

In reply to by HildeK

In addition, you can also enter a higher number without there being an error.
Do you mean enter a higher number in Measure Properties > Play count?

Anyhow, Musescore contributor @jeetee is the Zen Master of all this jumps, markers, voltas, and repeats stuff. Also, somewhere there's a MuseScore (GitHub maybe?) webpage with the examples used for testing purposes. It applies all sorts of combinations. I can't recall the URL (address), but it offers some gnarly scenarios.

Actually, only if you use more than a single repeat without volta will you need the play count.

In addition to more than a single repeat (without volta) the play count helps when, for instance, a D.C. al Fine is tasked with 'Play repeats', in which case the play count is started all over.

However, it didn't necessarily have to be implemented this way.

Yes, but someone had to make a choice (back whenever it was made).
A consistent approach avoids uncertainty. If someone said: "You have to play this twice":
Twice.png
What's the total number of C's you will have played when you are done?

In reply to by Jm6stringer

> Do you mean enter a higher number in Measure Properties > Play count?
Yes. Enter in your example in both measures e.g. the value 10. It works.

> Yes, but someone had to make a choice
Yes, of course. It was just a comment on these frequent misunderstandings.

> How many C's will you have played in total when you're done?
Yes, I play the measures twice, so 12 C's, but I repeat once! The problem of some people is that it is the play count and not the repeat count. With voltas, the measure having the property 'play count = 2' is played only once! This is the misunderstanding ...

But it is what it is, and you have to learn it and to deal with it. Maybe there are other reasons for implementing it this way that I don't recognize.
I don't want to criticize, I'm just trying to explain why there are always misunderstandings here.

In reply to by HildeK

You wrote:
Yes. Enter in your example in both measures e.g. the value 10. It works.

Entering a (greater) value of 10 works because it provides the voltas with a stockpile of excess "sendback" (SB) commands (most of which are never called for and remain unused). It is excessive, but could unintentionally come in handy.
For example, as the OP states: ... the piece isn't finished yet. I plan to have it played four times, and if that changes, I'll edit the text accordingly.
So, if the OP decides on adding more plays and edits the text (and also the Repeat list) accordingly, but forgets about setting the Play count in measure properties - which on occasion has happened to others in the forum - the score will still play OK. It will use what is necessary from that stockpile of extra SB commands.

On the other hand...
Placing a lesser Play count value than required is what causes problems, so try this for fun:
Leave the value set at 10 for the 1. 2. 4. volta and change the value for the 3. volta to 1 - thereby taking away that volta's only available SB command. When played, the playback engine doesn't get sent back to the beginning from the 3. volta, and sadly limps through to the end. :-(
--OR--
Leave the value set at 10 for the 3. volta and change the Play count value of the 1. 2. 4. volta to 3. This time the playback engine is sent back enough times to get to the 3. volta which uses one of its (many) SB commands to start the fourth play -- but the 1. 2. 4. volta is out of SB commands and the score limps to the end. :-(
Sadly, all those extra SB commands stockpiled in the 3. volta are of no use because that volta has earlier thrown playback to the start and, of course, cannot do it again..

In reply to by Jm6stringer

Yes, that's exactly how it works.

My consideration was:
A section with repeats without voltas needs a value for the play count in the measure properties. For example, if you have four verses, the value must be 4. This is quite understandable here, because the measure with the end repeat barline is also played four times.

The situation is different when using voltas. I think, here you could do it without the play count and derive everything from the repeat lists of the voltas. The confusion arises from the fact that the measure with the value for the play count (measure with end repeat barline) is always played less often than the value indicates.

As I said, a different decision was made, probably for good reasons that I can't see at the moment, and we can live with it if we understand the context. And we just have to explain it to people seeking help from time to time. :-)
I also had the same problem with my first uses of MuseScore.

In reply to by HildeK

The voltas and their repeat lists should take precedence over a play count. Should be possible to code without any backwards compatibility issues (other than that scores all of a sudden play back correctly, as per their voltas)

But I'd rather let Zen master @jeetee comment on this ;-)

In reply to by HildeK

> With voltas, the measure having the property 'play count = 2' is played only once!

> The confusion arises from the fact that the measure with the value for the play count (measure with end repeat barline) is always played less often than the value indicates.

Perhaps, for voltas, "play count" is a misnomer and should be named something like "repeat count" along with not having to add 1 for voltas. So, 3 items in the repeat list, 3 "repeat counts".

Thank you all for your helpful (and insightful) comments. For the record, I've been using MuseScore for years, but I usually don't work with voltas very much, which is probably why I haven't run into this issue very often.

That said, all of the comments have made me want to reiterate a sentiment I expressed earlier: If MuseScore aims to be user-friendly and have a good "out-of-the-box" experience, the method for making voltas work the way they should is a glaring problem that deserves to be remedied. Yes, it (kind of) makes sense, and yes, I can (sort of) understand the logic behind it, but if a seasoned user needs to wade through comments like these to understand why voltas work the way they do, then something is amiss. I really believe that someone should be able to enter the voltas they want and, assuming they make good notational sense (which, I will admit, some of mine did not), the playback should work without having to calculate the play count. Yes, a change like this may create some playback errors with earlier files, but so did the upgrade to MuseScore 4.

Again, I am grateful for the comments. I asked to help understand why voltas work the way, and you've done that. But I'm even more convinced that the current system is too confusing, too unintuitive, to stay the way it is.

In reply to by chrismassa1

Earlier you wrote:
> When I use 1st and 2nd endings, the voltas work just fine. The playback does what I hope it will do, and there aren't any surprises.
So, a good "out-of-the-box" experience, then?

> But as soon as I start modifying the voltas and adding 3rd or 4th endings, or sections that are played multiple times, things become much less reliable.
Okay, so your topic title is "Complicated Voltas", and MuseScore does have a handbook which provides instruction. (You can edit it.)

> Can you help me understand the logic of this?... I'm genuinely curious.
...which then prompted a lengthy discussion.

> I asked to help understand why voltas work the way, and you've done that.
Then my job here is done... ;-)

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