# Enum.ListenerLocation

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

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

Enum used with [`SoundService.DefaultListenerLocation`](https://rapi.sleaze.dev/classes/SoundService.md) to determine where an [`AudioListener`](https://rapi.sleaze.dev/classes/AudioListener.md) is placed by default.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Default` | 0 | Behavior depends on the value of [`VoiceChatService.EnableDefaultVoice`](https://rapi.sleaze.dev/classes/VoiceChatService.md) and [`VoiceChatService.UseAudioApi`](https://rapi.sleaze.dev/classes/VoiceChatService.md). When using the default voice setup with the audio API, this behaves similarly to [`Camera`](https://rapi.sleaze.dev/classes/Camera.md). |
| `None` | 1 | No [`AudioListener`](https://rapi.sleaze.dev/classes/AudioListener.md) will be created by default, but they can be created separately by scripts. |
| `Character` | 2 | All of the following, resulting in the world being heard from the position of your character while matching the orientation of your camera. - An [`Attachment`](https://rapi.sleaze.dev/classes/Attachment.md) will be created and parented to the `PrimaryPart` of the local player's [`Character`](https://rapi.sleaze.dev/enums/ListenerLocation.md) model. - An [`AudioListener`](https://rapi.sleaze.dev/classes/AudioListener.md) will be created and parented to the [`Attachment`](https://rapi.sleaze.dev/classes/Attachment.md). - An [`AudioDeviceOutput`](https://rapi.sleaze.dev/classes/AudioDeviceOutput.md) will be created and parented to [`SoundService`](https://rapi.sleaze.dev/classes/SoundService.md). - A [`Wire`](https://rapi.sleaze.dev/classes/Wire.md) will be created and parented to the previously-created [`AudioListener`](https://rapi.sleaze.dev/classes/AudioListener.md). The wire's `SourceInstance` will be set to the previously-created [`AudioListener`](https://rapi.sleaze.dev/classes/AudioListener.md) and its `TargetInstance` will be set to the previously-created [`AudioDeviceOutput`](https://rapi.sleaze.dev/classes/AudioDeviceOutput.md). - The previously-created [`Attachment`](https://rapi.sleaze.dev/classes/Attachment.md) will be updated once per frame to face the same direction as [`Workspace.CurrentCamera`](https://rapi.sleaze.dev/classes/Workspace.md). |
| `Camera` | 3 | All of the following, resulting in the world being heard from the perspective (postition and orientation) of the camera. - An [`AudioListener`](https://rapi.sleaze.dev/classes/AudioListener.md) will be created and parented to [`Workspace.CurrentCamera`](https://rapi.sleaze.dev/classes/Workspace.md). - An [`AudioDeviceOutput`](https://rapi.sleaze.dev/classes/AudioDeviceOutput.md) will be created and parented to [`SoundService`](https://rapi.sleaze.dev/classes/SoundService.md). - A [`Wire`](https://rapi.sleaze.dev/classes/Wire.md) will be created and parented to the previously-created [`AudioListener`](https://rapi.sleaze.dev/classes/AudioListener.md). The wire's `SourceInstance` will be set to the previously-created [`AudioListener`](https://rapi.sleaze.dev/classes/AudioListener.md) and its `TargetInstance` will be set to the previously-created [`AudioDeviceOutput`](https://rapi.sleaze.dev/classes/AudioDeviceOutput.md). |

## Used by

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

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