audio.AudioParam

AudioParam

package js-html-audio

Available on js

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 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.

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

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/audio/AudioParam.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部