package js.html.audio
Available on jsThere are two kinds of
AudioParam
, a-rate and k-rate parameters:Documentation AudioParam by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
read only defaultValue: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.
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 |
---|
© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/audio/AudioParam.html