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

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