Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

AVAudioEnvironmentDistanceAttenuationParametersMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class AVFoundationNode MBS AVFoundation Plugin 15.3 Yes No No Yes, macOS only No
Function: The AVAudioEnvironmentDistanceAttenuationParameters class specifies the attenuation distance, the gradual loss in audio intensity, and characteristics.
Notes: This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

Distance attenuation models

Constant Value Description
DistanceAttenuationModelExponential 1 Calculated as distanceGain = (distance / referenceDistance) ^ (-rolloffFactor).
DistanceAttenuationModelInverse 2 Calculated as distanceGain = referenceDistance / (referenceDistance + rolloffFactor * (distance – referenceDistance)).
DistanceAttenuationModelLinear 3 Calculated as distanceGain = (1 – rolloffFactor * (distance – referenceDistance) / (maximumDistance – referenceDistance)).

This class has no sub classes.

Some properties using for this class:


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


AVAudioEngineMBS   -   AVAudioEnvironmentNodeMBS




Links
MBS FileMaker tutorial videos