fastGap

From TidalCycles userbase
Revision as of 20:39, 24 December 2020 by Left adjoint (talk | contribs) (Created page with "{{DISPLAYTITLE:fastGap}} Type: <syntaxhighlight lang="haskell" inline>fastGap :: Pattern Time -> Pattern a -> Pattern a</syntaxhighlight> '''fastGap''' sp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Type: fastGap :: Pattern Time -> Pattern a -> Pattern a

fastGap speeds up a pattern like fast, but rather than it playing multiple times as fast would it instead leaves a gap in the remaining space of the cycle. For example, the following will play the sound pattern "bd sn" only once but compressed into the first half of the cycle, i.e. twice as fast.

d1 $ sound (fastGap 2 "bd sn")

See also: fast.