setReleaseTime()
Set the envelope's release time.
Parameters
Once an object envelope has been created, you can use the following function:
envelope.setReleaseTime(releaseTime)
| Parameter | Type | Default | Description |
|---|---|---|---|
releaseTime |
int |
required | How long the sound takes to fade to silence after it ends, in milliseconds. |