anticipate

From TidalCycles userbase
Revision as of 21:00, 6 July 2021 by Tiagor (talk | contribs) (Correction of type definition and clarification of example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Type: anticipate :: Show a => a -> ControlPattern -> IO ()


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 2 $ sound "bd sn" # delay "0.5" # room "0.3"


Stop the newly created pattern using its ID:

d2 silence