Enum used with
SoundService.DefaultListenerLocation to determine where an AudioListener is placed by default.- Items
- 4
- Uses
- 1
Items4
- Behavior depends on the value of
VoiceChatService.EnableDefaultVoiceandVoiceChatService.UseAudioApi. When using the default voice setup with the audio API, this behaves similarly toCamera. - No
AudioListenerwill be created by default, but they can be created separately by scripts. - All of the following, resulting in the world being heard from the position of your character while matching the orientation of your camera.
- An
Attachmentwill be created and parented to thePrimaryPartof the local player'sCharactermodel. - An
AudioListenerwill be created and parented to theAttachment. - An
AudioDeviceOutputwill be created and parented toSoundService. - A
Wirewill be created and parented to the previously-createdAudioListener. The wire'sSourceInstancewill be set to the previously-createdAudioListenerand itsTargetInstancewill be set to the previously-createdAudioDeviceOutput. - The previously-created
Attachmentwill be updated once per frame to face the same direction asWorkspace.CurrentCamera.
- An
- All of the following, resulting in the world being heard from the perspective (postition and orientation) of the camera.
- An
AudioListenerwill be created and parented toWorkspace.CurrentCamera. - An
AudioDeviceOutputwill be created and parented toSoundService. - A
Wirewill be created and parented to the previously-createdAudioListener. The wire'sSourceInstancewill be set to the previously-createdAudioListenerand itsTargetInstancewill be set to the previously-createdAudioDeviceOutput.
- An