AudioParam.maxValue

The maxValue read-only property of the AudioParam interface represents the maximum possible value for the parameter's nominal (effective) range.

Syntax

var maxVal = audioParam.maxValue;

Value

A floating-point Number.

Example

const audioCtx = new AudioContext();
const gainNode = audioCtx.createGain();
console.log(gainNode.gain.minValue); //-Infinity
console.log(gainNode.gain.maxValue); //Infinity

Specifications

Specification Status Comment
Web Audio API
The definition of 'maxValue' in that specification.
Working Draft  

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support52 Yes53 No396
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support5252 Yes5339 ?6.0

Document Tags and Contributors

 Contributors to this page: Jedipedia, fscholz, chrisdavidmills, jpmedley
 Last updated by: Jedipedia,