Repeat Bar / Section Break / Repeat Section

• Jul 24, 2015 - 12:58

Hi,

I am using the latest Musescore on LInux (and Android) and I think it is amazing!

I have one feature request...

When I add a section break to a bar, it introduces a delay until the next bar which is perfect. However, when I want to repeat the bar for practice, the section break delay is still present (the same is true of section repeats). I wonder if it is possible to repeat the set of notes without including the section break or section repeat.

Thank you so much for your work on Musescore 2.

Kind regards,

Conor Dowdall.


Comments

In reply to by Isaac Weiss

Thanks ZackTheCardshark.

That bug is slightly different to what my issue is - sorry, my wording was incorrect.

I meant: when I open the Play Panel and loop a section using the loop playback tool, I would rather not include the section break delay before looping back around.

Cheers,

Conor.

In reply to by Marc Sabatella

Interestingly, the blue visual markers of the loop feature seem to indicate the loop plays through to the start of the tick of the chord-rest after the selected ending. Take a look at this screenshot where I selected the final note of the second measure and pressed the "]" on the play panel, which clearly shows that the blue line occurs after the barline, which is communicating that it is interpreting the end of playback to be just after the barline:

test-loop-nobreaks.png

If I were to place a newline at the end of that second measure, then the blue tick is clearly after the barline on the new line:

test-loop-linebreak.png

If I were to place a section break at the end of that second measure, then the blue tick is again clearly after the barline on the newline:

test-loop-sectionbreak.png

The fix I submitted does not change the behavior of this looped playback. Running my #32696 branch, I see that my code is not even invoked here. My unrolled tempomap is not regenerated when play panel start & stop positions are set. (I only adjusts the relativeTempo % and renomalizes the unrolled tempomap when that relative tempo slider is adjusted). The play panel code still treats the "]" to mean the starting tick of the next chord-rest.

There is also the question of whether the caesura after the selected ending note should be included in the looped playback or not. Here is a screenshot of what it looks like when the ending note has a caesura:

test-loop-caesura.png

The blue line of the playback marker seems to bisect the caesura, so it is ambiguous just from looking at that to know if the end of the loop is before or after the caesura. When I listen to the playback, the caesura pause is invoked.

I think before any fix is attempted, the exact semantics need to be nailed down. I think the semantics should be: if I select a note, and press the "]", then the marker for end of the loop should be placed immediately after that chord-rest, before any caesura and before the next barline, and that will be where the loop repeats.

I could fix this by querying my unrolled tempomap to ask for "time *before* tick" of some ending tick, and also by making pos be aware of the distinction and place the blue marker appropriately. Alternatively, my pull request can be scrapped and instead go the route of inserting an extra tick for section breaks & caesuras. Or something else.

(I'm also noticing another minor issue...if I select the whole rest of an empty measure and press "]", it sets the blue ending marker to ~one beat after the start of the whole rest.)

test-loop-empty-measure.png

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