Reference p5.Reverb

p5.Reverb

Reverb adds depth to a sound through a large number of decaying echoes. It creates the perception that sound is occurring in a physical space. The p5.Reverb has paramters for Time (how long does the reverb last) and decayRate (how much the sound decays with each echo) that can be set with the .set() or .process() methods. The p5.Convolver extends p5.Reverb allowing you to recreate the sound of actual physical spaces through convolution.

This class extends p5.Effect. Methods amp(), chain(), drywet(), connect(), and disconnect() are available.

Examples

Methods

process

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

set

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

amp

Set the output level of the reverb effect.

connect

Send output to a p5.sound or web audio object

disconnect

Disconnect all output.

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