musescore / musescore/MuseScore

MuseScore on Linux cannot access sound device if any other software on the computer is even tangentially using it

Open
#15,937 7 comments 0 reactions 2 assignees View on GitHub

@RomanPudashkin is already working on this.

Since Dec 17, 2023.

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

Description

Describe the bug
If you have any other software running that even tangentially looks at using the default sound device (such as Discord just sat there doing nothing, or firefox that happens to have something that once made a noise open in a tab) then MuseScore will fail to init the sound system. It will load (with errors) but as soon as you try and play anything playback just hangs. Any attempt to look at the sound settings (which still don't have anything other than "System Default") causes the software to crash.

To Reproduce
Steps to reproduce the behavior:

  1. Have something else that could potentially use sound, like Discord, sat running
  2. Load MuseScore
  3. ???
  4. Fail to profit

Platform information

  • OS: Linux

Additional context
We urgently need an alternative to just ALSA as the sound backend on Linux. PulseAudio and Jack support are the bare minimum we need in order for it to be actually usable in Linux. As an interim stop-gap just the ability to select a different audio device than "System Default" might be a help.

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.