1 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

VoiceChatDistanceAttenuationType

Each value in this enum represents a distance attenuation curve that can be used by VoiceChatService when creating the default voice chat setup using AudioDeviceInput and AudioEmitter objects.

Items

NameValueDescription
Inverse0Represents a distance attenuation curve that follows the inverse-squared law. This is identical to the default distance attenuation of an AudioEmitter instance.
Legacy1Represents a linear-squared distance attenuation curve with a minimum distance of 7 and a maximum distance of 80. This is identical to the distance attenuation used in the internal-only default voice setup that does not use AudioDeviceInput and AudioEmitter objects.

Inverse

Represents a distance attenuation curve that follows the inverse-squared law. This is identical to the default distance attenuation of an AudioEmitter instance.

FieldValue
value0

Legacy

Represents a linear-squared distance attenuation curve with a minimum distance of 7 and a maximum distance of 80. This is identical to the distance attenuation used in the internal-only default voice setup that does not use AudioDeviceInput and AudioEmitter objects.

FieldValue
value1