There are two kinds of AudioParam, a-rate and k-rate parameters:

Documentation AudioParam by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

read onlydefaultValue:Float

Represents the initial volume of the attribute as defined by the specific AudioNode creating the AudioParam.

value:Float

Represents the parameter's current volume as a floating point value; initially set to the value of AudioParam.defaultValue. Though it can be set, any modifications happening while there are automation events scheduled — that is events scheduled using the methods of the AudioParam — are ignored, without raising any exception.

Methods

cancelScheduledValues (startTime:Float):Void

Throws:

null

DOMError

exponentialRampToValueAtTime (value:Float, endTime:Float):Void

Throws:

null

DOMError

linearRampToValueAtTime (value:Float, endTime:Float):Void

Throws:

null

DOMError

setTargetAtTime (target:Float, startTime:Float, timeConstant:Float):Void

Throws:

null

DOMError

setValueAtTime (value:Float, startTime:Float):Void

Throws:

null

DOMError

setValueCurveAtTime (values:Float32Array, startTime:Float, duration:Float):Void

Throws:

null

DOMError