Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVAudioEnvironmentDistanceAttenuationParametersMBS class.

AVAudioEnvironmentDistanceAttenuationParametersMBS.distanceAttenuationModel as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The distance attenuation model describing the drop-off in gain as the source moves away from the listener.

The default value is the AVAudioEnvironmentDistanceAttenuationModelInverse attenuation model.
(Read and Write property)

AVAudioEnvironmentDistanceAttenuationParametersMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The internal object reference.

(Read and Write property)

AVAudioEnvironmentDistanceAttenuationParametersMBS.maximumDistance as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The distance, in meters, beyond which no further attenuation is applied.

The default value is 100000.0 meters.
This property is relevant for the AVAudioEnvironmentDistanceAttenuationModelInverse attenuation model.
(Read and Write property)

AVAudioEnvironmentDistanceAttenuationParametersMBS.referenceDistance as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The minimum distance, in meters, at which attenuation is applied.

The default value is 1.0 meter.

This property is relevant for the AVAudioEnvironmentDistanceAttenuationModelInverse and AVAudioEnvironmentDistanceAttenuationModelLinear attenuation models.
(Read and Write property)

AVAudioEnvironmentDistanceAttenuationParametersMBS.rolloffFactor as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Determines the attenuation curve.

A higher value results in a steeper attenuation curve. The default value is 1.0. The value must be greater than 0.0.

This property is relevant for the AVAudioEnvironmentDistanceAttenuationModelExponential, AVAudioEnvironmentDistanceAttenuationModelInverse, and AVAudioEnvironmentDistanceAttenuationModelLinear attenuation models.
(Read and Write property)

The items on this page are in the following plugins: MBS AVFoundation Plugin.


The biggest plugin in space...