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 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 |
(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 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 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 |
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.