namespaceAudioParam
Source: waax.
Injects into window.AudioParam
Methods
Methods
cancel()
Equivalent of AudioParam.cancelScheduledValues. Cancels scheduled value after a given starting time.
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]. |