A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/apis/webaudio/GainNode/gain below:

gain · WebPlatform Docs

gain Summary

Represents the amount of gain to apply. Its default value is 1 (no gain change). The nominal minValue is 0, but may be set negative for phase inversion. The nominal maxValue is 1, but higher values are allowed (no exception thrown). This parameter is a-rate.

Property of apis/webaudio/GainNodeapis/webaudio/GainNode

Syntax
var result = GainNode.gain;
GainNode.gain = value;
Return Value

Returns an object of type NumberNumber

Examples
var audioCtx = new AudioContext();
var gainNode = audioCtx.createGain();
gainNode.gain.value = 0.5;
Related specifications
W3C Web Audio API
W3C Editor’s Draft

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4