How far away a source can be heard from, and how fast it fades.
refDistance is full volume, maxDistance is silence, and rolloff shapes the drop
between them: 1 is inverse-linear, 2 inverse-square. These are the names the Web Audio
PannerNode uses for the same three numbers, so a game that later moves to a real panner
does not have to re-author them.
How far away a source can be heard from, and how fast it fades.
refDistanceis full volume,maxDistanceis silence, androlloffshapes the drop between them: 1 is inverse-linear, 2 inverse-square. These are the names the Web AudioPannerNodeuses for the same three numbers, so a game that later moves to a real panner does not have to re-author them.