A RetroSearch Logo

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

Search Query:

Showing content from https://developer.cdn.mozilla.net/en-US/docs/Web/API/PannerNode/maxDistance below:

PannerNode: maxDistance property - Web APIs

PannerNode: maxDistance property

Baseline Widely available

The maxDistance property of the PannerNode interface is a double value representing the maximum distance between the audio source and the listener, after which the volume is not reduced any further. This value is used only by the linear distance model.

The maxDistance property's default value is 10000.

Value

A double. The default is 10000, and non-positive values are not allowed.

Exceptions
RangeError

Thrown if the property has been given a value that is outside the accepted range.

Examples

See BaseAudioContext.createPanner() for example code.

Specifications Browser compatibility See also

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