setTargetAtTime method

AudioParam setTargetAtTime(
  1. num target,
  2. num startTime,
  3. num timeConstant
)

The setTargetAtTime() method of the AudioParam interface schedules the start of a gradual change to the AudioParam value. This is useful for decay or release portions of ADSR envelopes.

Implementation

external AudioParam setTargetAtTime(
  num target,
  num startTime,
  num timeConstant,
);