smash

From TidalCycles userbase
Revision as of 17:57, 29 November 2018 by Yaxu (talk | contribs) (Created page with "{{DISPLAYTITLE:smash}} Type: <source inline>smash :: Pattern Int -> [Pattern Time] -> ControlPattern -> ControlPattern</source> '''smash''' is a combinati...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Type: smash :: Pattern Int -> [Pattern Time] -> ControlPattern -> ControlPattern

smash is a combination of spread and striate - it cuts the samples into the given number of bits, and then cuts between playing the loop at different speeds according to the values in the list.

So this:

d1 $ smash 3 [2,3,4] $ sound "ho ho:2 ho:3 hc"

Is a bit like this:

d1 $ slow "<2 3 4>" $ striate 3 $ sound "ho ho:2 ho:3 hc"