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 compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
minValue | Chrome Full support 52 | Edge Full support ≤18 | Firefox Full support 53 | IE No support No | Opera Full support 39 | Safari Full support 6 | WebView Android Full support 52 | Chrome Android Full support 52 | Firefox Android Full support 53 | Opera Android Full support 41 | Safari iOS Full support Yes | Samsung Internet Android Full support 6.0 |
Legend
- Full support
- Full support
- No support
- No support