Reference process()

process()

Connect a source to the reverb, and assign reverb parameters.

Syntax

process(src, [seconds], [decayRate], [reverse])

Parameters

src
Object:

p5.sound / Web Audio object with a sound output.

seconds
Number:

Duration of the reverb, in seconds. Min: 0, Max: 10. Defaults to 3.

decayRate
Number:

Percentage of decay with each echo. Min: 0, Max: 100. Defaults to 2.

reverse
Boolean:

Play the reverb backwards or forwards.

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