A reference distance for reducing volume as source moves further from the listener. The default value is 1.
Property of apis/webaudio/PannerNodeapis/webaudio/PannerNode
Syntaxvar result = PannerNode.refDistance;
PannerNode.refDistance = value;
Return Value
Returns an object of type NumberNumber
Examplesvar audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.refDistance = 1;
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