musescore / musescore/MuseScore

Strange behaviour when deleting instruments while playback sounds are still being loaded

Open
#20,642 0 comments 0 reactions 2 assignees View on GitHub

@RomanPudashkin is already working on this.

Since Dec 22, 2023.

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

Description

Issue type

General playback bug

Bug description

No response

Steps to reproduce
  1. Open large score with notes in many instruments, and chord symbols
  2. Immediately, while sounds are still loading, delete all instruments except the first

Note that:

  • Sounds continue loading, even for deleted instruments, which is wasteful of "resources"/time
  • Mixer tracks are still created for the chord symbols of deleted instruments
  • you still hear notes from the deleted instruments, even though no tracks for them are seen in the Mixer
Screenshots/Screen recordings

(The interesting part of this video comes at 0:25; be sure to turn sound on)

https://github.com/musescore/MuseScore/assets/48658420/3ead76b4-f111-495f-8905-9e5023e76637

(Score credits: https://github.com/musescore/MuseScore/issues/20577#issuecomment-1864778704)

MuseScore Version

at least 4.2.0 and master

Regression

I don't know

Operating system

macOS, maybe others too

Additional context

No response

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.