W3cubDocs

/Haxe JavaScript

GainNode

package js.html.audio

extends AudioNodeEventTarget

@:native("GainNode") Available on js

The gain is a unitless value, changing with time, that is multiplied to each corresponding sample of all input channels. If modified, the new gain is applied using a de-zippering algorithm in order to prevent unaesthetic 'clicks' from appearing in the resulting audio.

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

See:

Variables

read only gain:AudioParam

Is an a-rate AudioParam representing the amount of gain to apply.

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