TidalCycles timeLoop t loops a pattern's cycle sequence every t cycles, like a modulo on cycle number
timeLoop t p restarts pattern p every t cycles, so a pattern that would otherwise keep advancing through its <...> alternations instead repeats a fixed t-cycle window. It behaves like taking the cycle number modulo t. timeLoop 7 $ s "<bd sn cp hh>" loops a seven-cycle span, so the four-element alternation is heard as the repeating seven-cycle sequence bd sn cp hh bd sn cp. This is useful for creating odd-length phrase loops (5, 7 cycles) out of shorter alternating patterns, producing polymetric relationships against other channels running at power-of-two lengths.
Examples
d1 $ timeLoop 7 $ s "<bd sn cp hh>"
-- equivalent to: d1 $ s "<bd sn cp hh bd sn cp>"
Assessment
What does timeLoop 3 $ s "<a b c d e>" play across cycles? Why would you use timeLoop to create a 7-cycle phrase against a 4-cycle loop, and what is the resulting relationship called?