musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
11.82k stars 2.57k forks source link

Playback freeze after closing laptop (bluetooth headphones disconnect and reconnect) #19620

Open JustTheEMailGuy opened 9 months ago

JustTheEMailGuy commented 9 months ago

Issue type

General playback bug

Bug description

Playback works just fine usualy, but after closing and reopening the laptop, playback freezes completely. This is only solvable after reloding the sheet music.

Steps to reproduce

  1. Open sheet music
  2. Close laptop
  3. Open laptop
  4. Start playback of sheet music

Screenshots/Screen recordings

No response

MuseScore Version

4.1.1.232071203

Regression

Yes, this used to work in a previous version of MuseScore 4.x

Operating system

Windows 10

Additional context

There is another thing, which could be associated with this: When closing my laptop, my bluetooth headphones disconnect and they reconnect upon opening. There is another unusual playback bug I only get with Musescore. Playback has a pretty noticable speed and pitch shift, if I connect or disconnect any bluetooth audio device during the time sheet music is open. If I reconnect (re-unconnect) the pitch and speed returns to normal. This only happens if sheet music is already opened, reloading the sheet music will solve the problem. Connecting or disconnecting any bluetooth audio device when no sheet music is open, will not cause there to be any pitch or speed change upon on opening the sheet music.

zacjansheski commented 9 months ago

Does this only occur when using the bluetooth headphones? There are a few similar issues reported.

https://github.com/musescore/MuseScore/issues/18579 https://github.com/musescore/MuseScore/issues/17877 https://github.com/musescore/MuseScore/issues/17836

JustTheEMailGuy commented 9 months ago

@zacjansheski after some testing I found out that playback seems to only freeze, if my bluetooth headphones disconnect and reconnect upon closing and reopening it.

JustTheEMailGuy commented 3 days ago

For quite a bit it has regressed further for me, sometimes crashing the whole opened Musescore tab.

It actualy seems to be pretty mixed. Extremely rarely nothing happens, most of the times playback freezes and notes stop making sounds if clicked on, and sometimes the tab crashes completely or even multiple or all of the musescore tabs.