Difference between revisions of "anticipate"

From TidalCycles userbase
Jump to: navigation, search
Line 12: Line 12:
 
anticipate 4 $ sound "bd sn" # delay "0.5" # room "0.3"
 
anticipate 4 $ sound "bd sn" # delay "0.5" # room "0.3"
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
  
 
Stop the newly create pattern using its ID:
 
Stop the newly create pattern using its ID:
 +
 
<syntaxhighlight lang="haskell" inline>
 
<syntaxhighlight lang="haskell" inline>
 
d4 silence
 
d4 silence
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 17:54, 19 April 2020


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

Queue up a pattern to be triggered (or dropped) in after 8 cycles. The argument supplied to `anticipate` is the ID of the new pattern that is created.

d1 $ sound "jvbass(3,8)"

anticipate 4 $ sound "bd sn" # delay "0.5" # room "0.3"


Stop the newly create pattern using its ID:

d4 silence