Difference between revisions of "repeatCycles"
From TidalCycles userbase
m |
|||
Line 10: | Line 10: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | [[Category:Functions]] [[Category:Randomness and chance]] [[Category: | + | [[Category:Functions]] [[Category:Randomness and chance]] [[Category:Time Functions]] |
Revision as of 21:33, 26 November 2018
Type: repeatCycles :: Int -> Pattern a -> Pattern
repeatCycles is function that repeats each cycle of a given pattern a given number of times.. It takes two inputs, the number of repeats, and the pattern you are transforming.
For example, to repeat each random cycle of notes three times:
d1 $ repeatCycles 3 $ sound "arpy(5,8)" # n (irand 8)