exponentialRampToValueAtTime method

AudioParam exponentialRampToValueAtTime(
  1. num value,
  2. num endTime
)

The exponentialRampToValueAtTime() method of the AudioParam Interface schedules a gradual exponential change in the value of the AudioParam. The change starts at the time specified for the previous event, follows an exponential ramp to the new value given in the value parameter, and reaches the new value at the time given in the endTime parameter.

Note: Exponential ramps are considered more useful when changing frequencies or playback rates than linear ramps because of the way the human ear works.

Implementation

external AudioParam exponentialRampToValueAtTime(
  num value,
  num endTime,
);