Trigger a pattern from the start
The Tidal Cycles cycles clock is always ticking. Sometimes, you will need to start your pattern from the beginning, in a deterministic way. There are many ways to do so.
nudge
nudge
is a function originally implemented to play around with the timing of audio sample playback. You can use it to get a nice swing
effect. You can also use it to deal with various timing problems.
You can set a nudge value on individual patterns to get them to shift
in time:
If you need to affect all of the patterns, you can also use nudge
on every pattern using all
:
qtrigger and trigger
resetCycles
Use resetCycles
to… reset the cycle count. This will reset the cycle count as soon as you run it, not at the end of the current cycle: