AudioParam: maxValue Eigenschaft
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since April 2021.
Die schreibgeschützte Eigenschaft maxValue
des AudioParam
-Interfaces repräsentiert den maximal möglichen Wert für den nominalen (effektiven) Bereich des Parameters.
Wert
Ein Gleitkomma-Number
, der den maximal zulässigen Wert für den nominalen Bereich des Parameters angibt.
Der Standardwert von maxValue
ist der maximal positive Gleitkommawert einfacher Genauigkeit (+340.282.346.638.528.859.811.704.183.484.516.925.440).
Beispiele
const audioCtx = new AudioContext();
const gainNode = audioCtx.createGain();
console.log(gainNode.gain.maxValue); // 3.4028234663852886e38
Spezifikationen
Specification |
---|
Web Audio API # dom-audioparam-maxvalue |
Browser-Kompatibilität
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
maxValue |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support