musescore / musescore/MuseScore
Can't change audio device on Linux, only option is "System Default" and sound always goes through HDMI
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Describe the bug
The only audio device that I can select is "System Default" and I can't get MuseScore to output sound to anything else besides my HDMI monitor. I have tried my audio jack and a bluetooth headset, but MuseScore insists on using HDMI. It sends sound through HDMI even if the HDMI device is muted in Audio Settings, and even if I have my entire system muted! Even more strangely, if I disable the HDMI device it still sends sound through it, despite another audio sink being the only one available (see screenshots). Because of this strange behavior, I have been unable to use MuseScore with any headsets.
(Also, relaunching MuseScore or pulseaudio both do not help.)
To Reproduce
Steps to reproduce the behavior:
- Set systemwide audio output device to something other than HDMI
- Open MuseScore
- Play something
- Sound goes through HDMI still
- Mute HDMI and try again
- Sound goes through HDMI still
- Disable HDMI device and try again
- Sound goes through HDMI still
- Cry
Expected behavior
Sound goes through whatever is the system default, and/or MuseScore allows you to choose which audio device to use.
Screenshots
msc-broken-audio-scrots.zip
(Sorry, my browser is being weird and I can't upload individual images)
Platform information
-` [redacted]
.o+` -----------
`ooo/ OS: Arch Linux ARM aarch64
`+oooo: Host: Raspberry Pi 4 Model B
`+oooooo: Kernel: 5.19.8-1-aarch64-ARCH
-+oooooo+: Uptime: 23 hours, 18 mins
`/:-:++oooo+: Packages: 1021 (pacman)
`/++++/+++++++: Shell: bash 5.1.16
`/++++++++++++++: Resolution: 1920x1080
`/+++ooooooooooooo/` DE: Plasma 5.26.5
./ooosssso++osssssso+` WM: KWin
.oossssso-````/ossssss+` Theme: [Plasma], Breeze [GTK2/3]
-osssssso. :ssssssso. Icons: [Plasma], breeze-dark [GTK2/3]
:osssssss/ osssso+++. Terminal: konsole
/ossssssss/ +ssssooo/- CPU: (4) @ 2.000GHz
`/ossssso+/:- -:/+osssso+- Memory: 1303MiB / 7797MiB
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/
Additional context
As shown in one of the screenshots, the dropdown at Edit > Preferences > I/O > Audio > Audio Device has only one option, system default. Contrary to this, MuseScore does not appear to respect the system default.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue identifies Edit > Preferences > I/O > Audio > Audio Device and provides Linux reproduction steps, but no source files or tests. First reproduce the HDMI routing and inspect the audio-device preference and Linux audio integration; done means MuseScore lists available devices and sends sound to the selected device or system default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux
- Domain
- audio-video-rtc, desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100