Results 1 - 1 of 1


The change starts at the time specified in startTime and exponentially moves towards the value given by the target parameter. The exponential decay rate is defined by the timeConstant parameter. This is the time it takes a first-order linear continuous time-invariant system to reach the value 1 - 1/e (around 63.2%) given a step input response (transition from 0 to 1 value): basically, the larger it is, the slower the transition will be.  This is useful for decay or release portions of envelopes.
API AudioParam Method Reference setTargetAtTime Web Audio API