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

No way to detect knob change without polling in onTick #68

Open
boourns opened this issue Jan 18, 2023 · 0 comments
Open

No way to detect knob change without polling in onTick #68

boourns opened this issue Jan 18, 2023 · 0 comments

Comments

@boourns
Copy link
Owner

boourns commented Jan 18, 2023

1 - there is no callback or way to know when a knob is turned except for registering onTick and comparing values.

We can't detect changes and emit MIDI if transport isn't running.

Options:

  • onChange(name) when a value changes, called from process
  • ability to register a timer
  • change onTick to call regardless of transport state

what could get abused? onChange when there's tons of knobs could slow shit down a lot. maybe we call it once with a list of parameters that changed this time slice?

onChange(parameterNames)

2 - someone else updating a value re-renders a ton of shit on other users

@boourns boourns changed the title FunctionSequencer rough edges No way to detect knob change without polling in onTick Jan 28, 2023
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