High CPU load with Mixer and opened channels
Reported version
3.0
Priority
P3 - Low
Type
Functional
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
duplicate
Regression
No
Workaround
No
Project
Came up in https://musescore.org/de/node/288886
CPU load increases strongly when channels in the mixer are unfolded.
OS: tested Linux (Opensuse Leap 15.0 [Repo]), Windows 10
Affirmative: Linux Mint 19 as AppImage
Reproducibility:
- Add instrument with several channels (e.g. violin, electric bass, ...)
- Show mixer
- Fold out channels, wait a bit, fold in again (observe CPU load)
Demo video (2 minutes) below: https://youtu.be/1kh4ys8-9Ik
Comments
Possibly a resurrection of #278897: High CPU load while the mixer is open, with the new mixer in 3.0.1?
"S4 - Minor" seems a bit low for a regression?
Also: If you just click on any channel of the mixer that is not currently selected (colored in dark gray) during playback, sound is somewhat interrupted. I think there's a bug in mixer code.
In a piece with 5 or more instruments, this error is more pronounced (with all instruments playing at the same time).
Test file added.
While playing: Just click on the last channel on the mixer and then click on the channel of the first instrument that is playing; You will hear the interruption.
Also #284339: Eats up all CPU while mixer is open and instrument change is expanded might be related, actually this here probably is a duplicate of that
See #284339: Eats up all CPU while mixer is open and instrument change is expanded