Set the delay time in seconds.
Examples
Syntax
delayTime(delayTime, [rampTime])
Parameters
delayTime
Number: The delay time in seconds.
rampTime
Number: The time in seconds it takes to ramp to the new delay time. By default it is 0.1 seconds. Setting it to 0 will change the delay time immediately and demonstrate legacy behavior.
Notice any errors or typos? Please let us know. Please feel free to edit src/effects/Delay.js and open a pull request!
Related References
getAudioContext
Get the window's audio context.
setAudioContext
Sets the AudioContext to a specified context to enable cross library compatibility.
userStartAudio
starts audio processing in the window when called from a user interaction (such as mousePressed()).
userStopAudio
stops audio processing in the browser window.