rolloffFactor
A value that fades specific frequencies over a distance.
Declaration
var rolloffFactor: Double { get set }Mentioned in
Discussion
The framework clamps a value to the range [0.0, greatestFiniteMagnitude].
A roll-off effect changes the frequencies of a sound as it dissipates with distance. A value of 0.0 disables the roll-off effect. A value of 0.5 havles the roll-off. The default value is 1.0, which produces a realistic roll-off effect. A value of 2.0 amplifies the roll-off effect.