MuseScore icon indicating copy to clipboard operation
MuseScore copied to clipboard

'Loop Playback' Feature doesn't work correctly with repeats

Open XiaoMigros opened this issue 1 year ago • 7 comments

Issue type

General playback bug

Bug description

The 'Loop Playback' option misinterprets repeats, and doesn't seem to take them into account when assigning playback points to loop to/from. Explained visually in a project file linked below.

Steps to reproduce

  1. Create a new Score
  2. Add repeats of any kind (regular repeats, voltas, jumps)
  3. Select a range to play looped during or after a repeat jump (a point after which the cursor has 'jumped' at least once)
  4. Enable looped playback and play the range
  5. The loop is offset by the amount of music repeated

Screenshots/Screen recordings

image

MuseScore Version

4.0.2

Regression

Yes, this used to work in Musescore 3.x and now is broken

Operating system

Windows 10

Additional context

Loop Playback Bug Demonstration.zip

(this is actually a .mscz file that it wouldn't let me upload without renaming)

XiaoMigros avatar Mar 17 '23 10:03 XiaoMigros

Here's another example, I think, of the same bug. Select All, Loop Playback, Jumps to start after first measure of B section MS4 Playback bug.zip Observed in MS 4.02 on Windows 11

BanjoJake avatar Mar 30 '23 00:03 BanjoJake

Here's another example: Coleman's March-m4.mscz.zip Plays normally once through, click on loop button, start again and when it gets to the B section it jumps back to the start of A at the end of bar 11, (bar 2 in the B).

Also try selecting the 'A' section, adding a loop, this has repeatable odd jump back behaviour.

This is on iMac Monterey, the file was imported from MU3 mscz and automatically converted, if that is useful information.

I do note that the synchronisation problem with tempo changes present in the initial release of MU4 seems to be fixed on MU 4.0.2.

This problem is a show stopper for how I want to use MU, and I am currently sticking with MU3 until it's fixed. MU4 does sound much better though.

pcollinson avatar Apr 26 '23 13:04 pcollinson

I can repro all cases. Thanks for logging!

DmitryArefiev avatar Apr 26 '23 14:04 DmitryArefiev

OS: Linux Mint 20.1, Arch.: x86_64, MuseScore version (64-bit): 4.0.2-230651545, revision: github-musescore-musescore-dbe7c6d

I am getting exactly the same bug with this score. loop_playback_issue.zip If you select a loop in the second system it plays back the corresponding measures in the first system instead. The problem disappears when you remove the repeat barline at the end of the first system.

rgreen5 avatar Jun 25 '23 23:06 rgreen5

Came up again in https://musescore.org/de/node/359440, along with a sample score

Jojo-Schmitz avatar Jan 20 '24 11:01 Jojo-Schmitz

I found similar behaviour in my score: after selecting a range, clicking "Loop Playback" and clicking Play, the playback starts X measures too early. Where X is the number of measures that are in repeating sections before the beginning measure of the selected loop. Note: The number of times these sections/measures should repeat does not influence this count; it counts as 1 per measure.

Extra info If you unselect the "Play repeats" option from the playback options, playback starts at the correct measure.

OS: Windows 10 Version 2009 or later Arch.: x86_64 MuseScore version (64-bit): 4.2.1-240230937, revision: github-musescore-musescore-d757433

vHeemstra avatar Mar 22 '24 16:03 vHeemstra

I also encountered the issue today (as reported by vHeemstra) in MS 4.2.1.

As he mentioned, the workaround is turning off Play Repeats in the Toolbar settings (the gear icon.)

scorster avatar Mar 26 '24 22:03 scorster

Bug still present in MuseScore Studio 4.3

BanjoJake avatar May 12 '24 21:05 BanjoJake

I just downloaded OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore Studio version (64-bit): 4.3.0-241231433, revision: github-musescore-musescore-5f36e74 This is still an issue. Attempting to loop a score that contains repeats still causes weird jumps. There was a suggestion of setting the score to not play repeats but that defeats the purpose of using MuseScore as a practice partner to play along with since then it is just driving through first and second endings, which is not helpful. If more specific information is need or an example file, let me know.

MikeWilkey avatar May 16 '24 21:05 MikeWilkey

@MikeWilkey They just fixed this a few days ago, but you won't see it till version 4.4

gabeluci avatar May 16 '24 21:05 gabeluci

Aah… Looking forward to the fix.

Michael T Wilkey

4770 Hilltop Dr.

DeForest, WI 53532

608-516-4556

From: Gabriel Luci @.> Sent: Thursday, May 16, 2024 16:29 To: musescore/MuseScore @.> Cc: MikeWilkey @.>; Mention @.> Subject: Re: [musescore/MuseScore] 'Loop Playback' Feature doesn't work correctly with repeats (Issue #16875)

@MikeWilkey https://github.com/MikeWilkey They just fixed this a few days ago, but you won't see it till version 4.4

— Reply to this email directly, view it on GitHub https://github.com/musescore/MuseScore/issues/16875#issuecomment-2116221135 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BIRL6UQY4Z2TFUKZ72QI4DTZCUQKHAVCNFSM6AAAAAAV6KGCQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJWGIZDCMJTGU . You are receiving this because you were mentioned. https://github.com/notifications/beacon/BIRL6UVW3TJVQHH46S4ZEN3ZCUQKHA5CNFSM6AAAAAAV6KGCQSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT6EL4M6.gif Message ID: @.*** @.***> >

MikeWilkey avatar May 17 '24 11:05 MikeWilkey