# Enum.VoiceChatDistanceAttenuationType

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/VoiceChatDistanceAttenuationType/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/VoiceChatDistanceAttenuationType

Enum used for preset distance attenuation curve options in the default voice chat setup.

## 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`](https://rapi.sleaze.dev/classes/AudioEmitter.md) 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`](https://rapi.sleaze.dev/classes/AudioDeviceInput.md) and [`AudioEmitter`](https://rapi.sleaze.dev/classes/AudioEmitter.md) objects. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [VoiceChatService](https://rapi.sleaze.dev/classes/VoiceChatService.md): property `DefaultDistanceAttenuation`
