We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS


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


var maxVal = audioParam.maxValue;


A floating-point Number.


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


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,