Difference between revisions of "anticipate"

From TidalCycles userbase
Jump to: navigation, search
(Created page with "Category:Transitions")
 
(Start anticipate)
Line 1: Line 1:
 
[[Category:Transitions]]
 
[[Category:Transitions]]
 +
 +
[[Type signature|Type]]: <syntaxhighlight lang="haskell" inline>anticipate :: Time -> [ControlPattern] -> ControlPattern</syntaxhighlight>
 +
 +
Queue up a pattern to be triggered (or dropped) in at the specified number of cycles
 +
 +
<syntaxhighlight lang="haskell" inline>
 +
d1 $ sound "jvbass(3,8)"
 +
 +
anticipate 4 $ sound "bd sn" # delay "0.5" # room "0.3"
 +
</syntaxhighlight>

Revision as of 15:20, 6 April 2019


Type: anticipate :: Time -> [ControlPattern] -> ControlPattern

Queue up a pattern to be triggered (or dropped) in at the specified number of cycles

d1 $ sound "jvbass(3,8)" anticipate 4 $ sound "bd sn" # delay "0.5" # room "0.3"