ConstantSourceNode

package js.html.audio

extends AudioScheduledSourceNodeAudioNodeEventTarget

Available on js

The ConstantSourceNode interface—part of the Web Audio API—represents an audio source (based upon AudioScheduledSourceNode) whose output is single unchanging value. This makes it useful for cases in which you need a constant value coming in from an audio source. In addition, it can be used like a constructible AudioParam by automating the value of its offset or by connecting another node to it; see Controlling multiple parameters with ConstantSourceNode.

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

See also:

Constructor

new(context:BaseAudioContext, ?options:Null<ConstantSourceOptions>)

Throws:

null

DOMError

Variables

read onlyoffset:AudioParam

An AudioParam which specifies the value that this source continuously outputs. The default value is 1.0.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/audio/ConstantSourceNode.html