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
| Name | Value | Description |
|---|---|---|
| Inverse | 0 | Represents a distance attenuation curve that follows the inverse-squared law. This is identical to the default distance attenuation of an AudioEmitter instance. |
| Legacy | 1 | 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. |
Inverse
Represents a distance attenuation curve that follows the inverse-squared law. This is identical to the default distance attenuation of an AudioEmitter instance.
| Field | Value |
|---|---|
| value | 0 |
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.
| Field | Value |
|---|---|
| value | 1 |