From TidalCycles userbase
Revision as of 00:03, 10 December 2018 by Yaxu (talk | contribs) (Yaxu moved page Wedge to wedge)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Type: wedge :: Time -> Pattern a -> Pattern a -> Pattern a

wedge combines two patterns by squashing them into a single cycle. It takes a ratio as the first argument. The ratio determines what percentage of the pattern cycle is taken up by the first pattern. The second pattern fills in the remainder of the pattern cycle. For example:

d1 $ wedge (1/4) (sound "bd*2 arpy*3 cp sn*2") (sound "odx [feel future]*2 hh hh")