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(unit, secondsFromNow)

Parameters

unit
Object:

p5.sound Object or Web Audio Param

secondsFromNow
Number:

time to trigger the release

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