Difference between revisions of "smash"

From TidalCycles userbase
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:smash}} Type: <source inline>smash :: Pattern Int -> [Pattern Time] -> ControlPattern -> ControlPattern</source> '''smash''' is a combinati...")
m (Yaxu moved page Smash to smash)
(No difference)

Revision as of 00:59, 10 December 2018

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"