LMMS / LMMS/lmms

Freeboy giving abnormally high CPU loads under certain conditions

Open
#6,144 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
10.4k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
7

Description

### Bug Summary
Edited freeboy parameters and created a "chime" sound, and noticed it was giving a very high CPU load.

#### Steps to reproduce
1. Download this file:
[Freeboy_issue.mmpz.zip](https://github.com/LMMS/lmms/files/7070082/Freeboy_issue.mmpz.zip)
2. Open and play
3. Look at CPU usage while playing. (Even while muted, apparently, this has an impact on CPU.)

#### Expected behavior
0 to minimal CPU usage, like with other instruments.

#### Actual behavior
Goes all the way into orange CPU usage.

#### Screenshot
![image](https://user-images.githubusercontent.com/76674645/131204843-9a5a0a2b-9104-48c4-bd09-194d981d8655.png)

#### Affected LMMS versions
1.2.0, 1.3 alpha

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by opening and playing the attached Freeboy_issue.mmpz project in LMMS, checking CPU usage while the project is playing and muted. Trace the Freeboy instrument entry point and compare its behavior with other instruments; done means reproducing the excessive load and confirming minimal CPU usage under the reported conditions.

Written by the indexing model from the issue text.

Assessment

Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.