deconstruct

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

Type: deconstruct :: Int -> Pattern String -> String

The deconstruct function displays the given number of steps within a pattern of strings. It's useful for visualising simple patterns, for example for seeing what a euclidean pattern is doing.

For example:

deconstruct 8 "[bd(3,8), sn(5,8,2)]"

returns:

"[bd, sn] sn ~ [bd, sn] sn ~ [bd, sn] ~"