Reference maxDist()

maxDist()

Set the maximum distance of the panner.

Syntax

maxDist(distance)

Parameters

distance
Number: the maximum distance that the sound source can be heard from.

Related References