Methods

cancel()

Equivalent of AudioParam.cancelScheduledValues. Cancels scheduled value after a given starting time.

See also
http://www.w3.org/TR/webaudio/#dfn-cancelScheduledValues

set(value, time, rampType)

Manipulates AudioParam dynamically.

Parameters

Name Type Optional Description

value

Number

 

Target parameter value

time

(Number or Array)

 

Automation start time. With rampType 3, this argument must be an array specifying [start time, time constant].

rampType

Number

 

Automation ramp type. 0 = step, 1 = linear, 2 = exponential, 3 = target value [start, time constant].

See also
http://www.w3.org/TR/webaudio/#methodsandparams-AudioParam-section