W3cubDocs

/DOM

AudioParam.minValue

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

Syntax

var minVal = audioParam.minValue;

Value

A floating-point Number indicating the minimum value permitted for the parameter's nominal range.

The default value of minValue is the minimum negative single-precision floating-point value (-340,282,346,638,528,859,811,704,183,484,516,925,440).

Example

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

Specifications

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

Browser compatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support 52 Yes 53 No 39 6
Mobile
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support 52 52 Yes 53 39 ? 6.0

See also

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/minValue