Tidal icon indicating copy to clipboard operation
Tidal copied to clipboard

add a quantized setCycle variant (qSetCycle)

Open geikha opened this issue 1 year ago • 1 comments

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.

geikha avatar Jul 30 '24 18:07 geikha

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.

sss-create avatar Jan 07 '25 20:01 sss-create