delaytime

From TidalCycles userbase
Revision as of 12:27, 20 December 2018 by Yaxu (talk | contribs)
Jump to: navigation, search

Type: delaytime :: Pattern Double -> ControlPattern

delaytime turns a number pattern into a control pattern that changes the length of the delay effect. The delay function is required in order for delaytime to have any effect.

d1 $ s "drum*4 [drum:1 drum:2/2]" # delaytime "<0 0.01 0.1 0.2 0.5>" # delay "0.5"

Interesting results can be achieved when applying a continuous function to delaytime:

d1 $ s "drum*4 [drum:1 drum:2/2]" # delaytime (range 0.01 0.3 $ slow 4 sine) # delay "0.5"