randslice

From TidalCycles userbase
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