Difference between revisions of "anticipate"

From TidalCycles userbase
Jump to: navigation, search
(Start anticipate)
m
Line 7: Line 7:
 
<syntaxhighlight lang="haskell" inline>
 
<syntaxhighlight lang="haskell" inline>
 
d1 $ sound "jvbass(3,8)"
 
d1 $ sound "jvbass(3,8)"
 +
  
 
anticipate 4 $ sound "bd sn" # delay "0.5" # room "0.3"
 
anticipate 4 $ sound "bd sn" # delay "0.5" # room "0.3"
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 20:18, 19 May 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"