Reference process()

process()

Add delay to an audio signal according to a set of delay parameters.

Syntax

process(Signal, [delayTime], [feedback], [lowPass])

Parameters

Signal
Object:

An object that outputs audio

delayTime
Number:

Time (in seconds) of the delay/echo. Some browsers limit delayTime to 1 second.

feedback
Number:

sends the delay back through itself in a loop that decreases in volume each time.

lowPass
Number:

Cutoff frequency. Only frequencies below the lowPass will be part of the delay.

Notice any errors or typos? Please let us know. Please feel free to edit lib/addons/p5.sound.js and open a pull request!

Related References