Reference triggerRelease()

triggerRelease()

Trigger the release of the Envelope. This is similar to releasing the key on a piano and letting the sound fade according to the release level and release time.

Examples

Syntax

triggerRelease(secondsFromNow)

Parameters

secondsFromNow
Number:

time to trigger the release

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