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:FloatRepresents the initial volume of the attribute as defined by the specific AudioNode creating the AudioParam.
value:FloatRepresents 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):VoidThrows:
null |
DOMError |
|---|
exponentialRampToValueAtTime (value:Float, endTime:Float):VoidThrows:
null |
DOMError |
|---|
linearRampToValueAtTime (value:Float, endTime:Float):VoidThrows:
null |
DOMError |
|---|
setTargetAtTime (target:Float, startTime:Float, timeConstant:Float):VoidThrows:
null |
DOMError |
|---|
setValueAtTime (value:Float, startTime:Float):VoidThrows:
null |
DOMError |
|---|
setValueCurveAtTime (values:Float32Array, startTime:Float, duration:Float):VoidThrows:
null |
DOMError |
|---|
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/audio/AudioParam.html