Contents

AVAudioEnvironmentDistanceAttenuationModel.linear

A linear model that describes the drop-off in gain as the source moves away from the listener.

Declaration

case linear

Discussion

The framework calculates this value as distanceGain = (1 – rolloffFactor * (distance – referenceDistance) / (maximumDistance – referenceDistance)).

See Also

Attenuation Models