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

message scheduling + packaging improvements #55

Merged
merged 7 commits into from
Oct 30, 2024
Merged

message scheduling + packaging improvements #55

merged 7 commits into from
Oct 30, 2024

Conversation

felixroos
Copy link
Owner

implement basic scheduling:

  • add SCHEDULE_MSG and BATCH_MSG to schedule messages at a relative time in the future
  • AudioView: add optional time argument to setControl to schedule control change
  • AudioView: add setControls to batch change controls with a single message

example:

repl.audio.setControls([
  { id:'freq', time:onset, value: freq },
  { id:'gate', time:onset, value: 1 },
  { id:'gate', time:offset, value: 0 },
])

full strudel example

optimize package for integration (tested with strudel):

@felixroos felixroos merged commit 034b49c into main Oct 30, 2024
2 checks passed
This was referenced Oct 30, 2024
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

Successfully merging this pull request may close these issues.

1 participant