setValueCurveAtTime method
The
setValueCurveAtTime()
method of the
AudioParam interface schedules the parameter's value to change
following a curve defined by a list of values.
The curve is a linear
interpolation between the sequence of values defined in an array of
floating-point
values, which are scaled to fit into the given interval starting at
startTime
and a specific duration.
Implementation
external AudioParam setValueCurveAtTime(
JSArray<JSNumber> values,
num startTime,
num duration,
);