Graph of Gain as Distance ranges from 0 to 10 with: ReferenceDistance = 5, RolloffFactor = 0.5, and MaximumDistance = 20
AVAudioEnvironmentDistanceAttenuationModel.Exponential
Member Name | Description |
---|---|
Exponential | Gain = (Distance / ReferenceDistance)^(-RolloffFactor) |
Inverse | Gain = ReferenceDistance / (ReferenceDistance + RolloffFactor * (Distance - ReferenceDistance)) |
Linear | Gain = (1 - RolloffFactor * (Distance - ReferenceDistance) / (MaximumDistance - ReferenceDistance)) |