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.

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