randcat

From TidalCycles userbase
Revision as of 22:25, 9 December 2018 by Yaxu (talk | contribs) (Yaxu moved page Randcat to randcat)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Type: randcat :: [Pattern a] -> Pattern a

randcat is similar to cat, but rather than playing the given patterns in order, it picks them at random. For example:

d1 $ randcat [sound "bd*2 sn", sound "jvbass*3", sound "drum*2", sound "ht mt"]