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

add a quantized setCycle variant (qSetCycle) #1094

Open
geikha opened this issue Jul 30, 2024 · 1 comment
Open

add a quantized setCycle variant (qSetCycle) #1094

geikha opened this issue Jul 30, 2024 · 1 comment

Comments

@geikha
Copy link
Contributor

geikha commented Jul 30, 2024

qSetCycle :: Time -> IO()

This would be exactly like setCycle, but instead of immediately setting the cycle count to Time, it'll do it at the next cycle start.

@sss-create
Copy link
Contributor

Is any guidance on this available?

I checked in Stream/UI.hs but I'm not sure how do determine a cycle start/end. If streamFirst can help then I am not sure how I pack setCycle in a ControlPattern. Maybe one has to go as deep as onSingleTick in Stream/Process.hs?

withTrigger in Tidal/Boot.hs seems a wrong starting point too, since it's more about Patterns than Clock. I am not sure, though.

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