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

UI update timer/interval #37

Open
WeirdConstructor opened this issue Sep 26, 2021 · 1 comment
Open

UI update timer/interval #37

WeirdConstructor opened this issue Sep 26, 2021 · 1 comment

Comments

@WeirdConstructor
Copy link

For HexoSynth I need something that polls the audio backend regularily (at 60 fps)
to update the visual feedback in the GUI (LEDs, signal graphs, ...).

For this I either need something like an on_frame function on the Widget, which could be enabled on demand when building builder.set_receive_frame_updates().

Alternatively any other mechanism that gives me this somehow will suffice of course. For instance an interval timer I can set to 16.6666667ms. Ideally it would be vsynced or something like that, like with baseview, because I guess only then I can make a smooth scrolling signal waveform?

@geom3trik
Copy link
Owner

Related issue #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants