Reference noteRelease()

noteRelease()

Trigger the Release of an AudioVoice note. 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

noteRelease([note], [secondsFromNow])

Parameters

note
Number:

midi note on which attack should be triggered. If no value is provided, all notes will be released.

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