AudioParam: minValue property
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.
TheminValueread-only property of theAudioParam interface represents the minimumpossible value for the parameter's nominal (effective) range.
In this article
Value
A floating-pointNumber indicating the minimum value permitted for theparameter's nominal range.
The default value ofminValue is the minimum negative single-precisionfloating-point value (-340,282,346,638,528,859,811,704,183,484,516,925,440).
Examples
js
const audioCtx = new AudioContext();const gainNode = audioCtx.createGain();console.log(gainNode.gain.minValue); // -3.4028234663852886e38Specifications
| Specification |
|---|
| Web Audio API> # dom-audioparam-minvalue> |