randslice

From TidalCycles userbase
Revision as of 16:11, 9 February 2019 by Metaxis (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Type: randslice :: Pattern Int -> ControlPattern -> ControlPattern

randslice chops the sample into the given number of pieces and then plays back a random one each cycle:

d1 $ randslice 32 $ sound "bev"

Use fast to get more than one per cycle;

d1 $ fast 4 $ randslice 32 $ sound "bev"

See also slice