Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relieve the audio thread #33

Open
JohT opened this issue Nov 28, 2022 · 0 comments
Open

Relieve the audio thread #33

JohT opened this issue Nov 28, 2022 · 0 comments
Assignees

Comments

@JohT
Copy link
Owner

JohT commented Nov 28, 2022

Problem

CPU intense calculations like the Wavelet Transformation, especially with higher resolution and filtering requirements, shouldn't affect the audio thread. Currently, glitches and other artifacts might happen occasionally. The audio thread shouldn't be affected by intense calculations, since they are done to visualize the spectrum, not to change audio.

Expected

  • The audio thread should only be connected to a buffer that doesn't lock it
  • There shouldn't be any glitches any more

Ideas

  • Research buffering and thread synchronization best practices
  • Refactor link between audio thread and spectrum calculation and visualization

References

@JohT JohT self-assigned this Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant