8000 Norns UI becomes laggy when this script is active · Issue #10 · xmacex/connect-opz · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Norns UI becomes laggy when this script is active #10

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 co 8000 mmunity.

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

Open
xmacex opened this issue Jan 13, 2021 · 1 comment
Open

Norns UI becomes laggy when this script is active #10

xmacex opened this issue Jan 13, 2021 · 1 comment
Assignees

Comments

@xmacex
Copy link
Owner
xmacex commented Jan 13, 2021

The script blocks the main thread as the current status is periodically polled. This is not cool, and e.g. make navigating the main norns menus sluggish. Re-implement the poll as a separate thread.

@xmacex xmacex self-assigned this Jan 13, 2021
@xmacex
Copy link
Owner Author
xmacex commented Jan 16, 2021

Nope it does not block actually, but uses a metro object for the poll, currently once a second.

counter = metro.init(tick, 1, -1)

What's the reason for sluggy menu responses? Just norns usage? Maybe I need to talk to someone.

@xmacex xmacex changed the title Blocks the main thread for UI updates Laggy UI response Jan 16, 2021
@xmacex xmacex changed the title Laggy UI response Norns UI becomes laggy when this script is active Jan 16, 2021
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

1 participant
0