fromList

From TidalCycles userbase
Revision as of 17:14, 24 December 2020 by Left adjoint (talk | contribs) (creating entry for fromList)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Type: fromList :: [a] -> Pattern a

fromList takes a list of things and turns them into a pattern where each item in the list has a duration of one cycle, looping back around at the end of the list.

d1 $ n (fromList [0, 1, 2]) # superpiano

is equivalent to

d1 $ n "<0 1 2>" # superpiano

See also: listToPat