Skip to content

CPU meter maxes out when playing short samples rapidly #8348

@sakertooth

Description

@sakertooth

System Information

Arch Linux

LMMS Version(s)

Long time

Most Recent Working Version

Long time

Bug Summary

Under extreme conditions, playing samples can cause the CPU meter to eventually max out.

Expected Behaviour

The CPU meter isn't maxed out under these loads when samples are being played.

Steps To Reproduce

  1. Open an empty project
  2. Set the BPM of the project to 999
  3. Set the loop markers from 0 to 1/64 on the timeline using the "Snap" feature in the Song Editor and zooming in as much as possible
  4. Enable the metronome
  5. Press play

Adding additional sample clips and/or leaving the project in this state for an arbitrary amount of time increases the CPU meter almost linearly, which allows for absurd CPU usage (in the thousands or more).

Logs

Click to expand
  

Screenshots / Minimum Reproducible Project

A screenshot showing the setup to reproduce the issue and the CPU meter maxed out in the "Notes & setup" stage.

Image

Please search the issue tracker for existing bug reports before submitting your own.

  • I have searched all existing issues and confirmed that this is not a duplicate.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions