GO-V.ORG
As seen in

AudioParam: maxValue property

Web Audio API

Web Audio API

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

## Value

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

The default value of `maxValue` is the maximum positive single-precision
floating-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.maxValue); // 3.4028234663852886e38
```

## Specifications

## Browser compatibility

## See also

- AudioParam.minValue

source: MDN Web Docs mirror · page

Cite this

"AudioParam: maxValue property". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/maxValue

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·