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.

This page is generated from the comments in lib/addons/p5.sound.js . Please feel free to edit it and submit a pull request!

Related References