Reference set()

set()

Set the reverb settings. Similar to .process(), but without assigning a new input.

Syntax

set([seconds], [decayRate], [reverse])

Parameters

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