High CPU load with Mixer and opened channels

• May 12, 2019 - 10:45
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

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.

Attachment Size
test_interruption.mscz 24.74 KB