musescore / musescore/MuseScore

[MU4 Issue] Sound stuttering and crash when pressing M while playing back using Muse Sounds

Open
#14,313 4 comments 0 reactions 2 assignees View on GitHub

@RomanPudashkin is already working on this.

Since Aug 20, 2024.

community needs testing P3 playback
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Describe the bug
While playing back a partition using Muse Sound, if you press the M key (shortcut for multi measure rest toggling) the sound stutters for several seconds with three possible scenarios when playback continues (after stuttering has finishes)

  1. Normal playback continues
  2. Sound stops playing entirely (fixable by stopping and restarting playback)
  3. Crashing MuseScore completely

To Reproduce
Steps to reproduce the behavior:

  1. Open a score (“Muse Orchestra Demo” from Muse Hub is used in the attached video)
  2. Use Muse Sounds as Playback Profile
  3. Start playback
  4. Press M (shortcut for multi measure rest toggling)

Expected behavior

  • No stuttering of sound
  • If possible, no pausing of the playback line

Video
(Don’t forget to unmute)
In the video, I press M three times:

  1. At the rehearsal mark A
  2. At the beginning of the second bar after rehearsal mark A
  3. At the beginning of the third bar after rehearsal mark A

Unfortunately, I could not get the crashing scenario on video, but it happened twice before I decided to record it and write this issue.


Platform information

  • OS: Windows 10 Pro 21H2 Version 2009 19044.2130
  • Arch.: x86_64
  • Possibly Relevant Hardware: AMD Ryzen 9 3900X 12-Core with 32 GiB RAM
  • MuseScore version (64-bit): 4.0.0-223072007, revision: github-musescore-musescore-2c34155

Additional context

  • When using MS Basic as playback, sound does not stutter, but the playback line stops for half a second before jumping to and continuing from the correct position, where playback is currently happening.
  • During the stuttering, the GUI behave like it should. Even dragging the view is possible and does not stutter.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.