repeatCycles

From TidalCycles userbase
Revision as of 16:26, 16 April 2020 by Bcgreen24 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Type: repeatCycles :: Int -> Pattern a -> Pattern

repeatCycles is a 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)