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

Flickering on microphone effets #58

Open
BaptisteHudyma opened this issue Dec 3, 2024 · 0 comments
Open

Flickering on microphone effets #58

BaptisteHudyma opened this issue Dec 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@BaptisteHudyma
Copy link
Owner

The sound reactive animations are fickering noticibly.

This is because:

  • the mic data is set on interrupts
  • the animations are running on another thread
  • The mic data is cleared on read

All those parameters interacting together produces the flickering effects in my opinion.

Potential fixes:

  • Do not clear the data after reading (potential for data smearing)
  • Keep the last value after computation on valid data and return it instead (again, potential data smearing)
@BaptisteHudyma BaptisteHudyma added the bug Something isn't working label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant