The maximum distance between source and listener, after which the volume will not be reduced any further. The default value is 10000.
Property of apis/webaudio/PannerNodeapis/webaudio/PannerNode
Syntaxvar result = PannerNode.maxDistance;
PannerNode.maxDistance = value;
Return Value
Returns an object of type NumberNumber
Examplesvar audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.maxDistance = 10000;
Related specifications
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4