Skip to content

setDelayTime()

Set the envelope's delay time.

Parameters

Once an object envelope has been created, you can use the following function:

envelope.setDelayTime(delayTime)
Parameter Type Default Description
delayTime int required How long to take reaching the sustain volume, in milliseconds after the last attack time.