randslice

From TidalCycles userbase
Revision as of 09:56, 10 December 2018 by Yaxu (talk | contribs) (Created page with "Type: <source inline>randslice :: Pattern Int -> ControlPattern -> ControlPattern</source> '''randslice''' chops the sample into the given number of pieces and then plays...")
(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"