High CPU usage
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 1.3k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 7
Description
### Bug Summary
As [mentioned on Discord](https://discord.com/channels/203559236729438208/784594576223633478/885624491105980466), the Equalizer makes the CPU usage go crazy with no input.
#### Steps to reproduce
Load project [owmycpu.mmp.zip](https://github.com/LMMS/lmms/files/7192477/owmycpu.mmp.zip) in a 32-bit build of LMMS, play. Either turn the decay for Equalizer to max (8 seconds) or have the "keep effects running without input" option turned on.
#### Expected behavior
Low CPU usage.
#### Actual behavior
High CPU usage.
#### Screenshot

#### Affected LMMS versions
32-bit Windows "nightly" build 1.3.0-alpha.1 on a not quite current Celeron.
Master on Ubuntu 18.04, e.g. 1.3.0-alpha.1.132+gfd18305fb (Linux/i386, Qt5.9., GCC 7.5.0), in Virtualbox on AMD Phenom II
Contributor guide
No contributing guide indexed for this repository
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
Start by loading the attached owmycpu.mmp project in a 32-bit LMMS build and profiling the Equalizer during playback with no input. Compare CPU usage with decay set to its maximum and with “keep effects running without input” enabled; done means CPU usage stays low in both reproductions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- audio-video-rtc, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100