A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/apis/webaudio/PannerNode/maxDistance below:

maxDistance · WebPlatform Docs

maxDistance Summary

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

Syntax
var result = PannerNode.maxDistance;
PannerNode.maxDistance = value;
Return Value

Returns an object of type NumberNumber

Examples
var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.maxDistance = 10000;
Related specifications
W3C Web Audio API
W3C Editor’s Draft

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