SoundService
A service that determines various aspects of how the audio engine works. Most of its properties affect how Sounds play in the experience.
| Memory category | Instances |
|---|
Member index 39
Removed member index 2
| History | Member | |
|---|---|---|
| 699 | AudioPlayerVolumeFix: RolloutState | |
| 473 | PlayStockSound(sound: SoundType): void |
Description
A service that determines various aspects of how the audio engine works. Most of its properties affect how Sounds play in the experience, while others affect the behavior of instances in the advanced audio system such as AudioPlayers and AudioEmitters.
SoundService is also often used to store SoundGroups, although this is not mandatory for groups to work.
History 105
- 699 Remove AudioPlayerVolumeFix
- 691 Add AcousticSimulationEnabled
- 686 Add AudioPlayerVolumeFix
- 673 Add SetSoundEnabled
- 660 Add SetAudioApiByDefault
- 660 Add InsertAsset
- 660 Add GetAudioApiByDefault
- 660 Add
- 660 Add
- 659 Add CharacterSoundsUseNewApi
- 655 Add OpenAudioCompressorEditorSignal
- 649 Change Security of OpenDirectionalCurveEditor from RobloxScriptSecurity to PluginSecurity
- 648 Add OpenDirectionalCurveEditorSignal
- 648 Change Parameters of OpenAudioEqualizerEditorSignal from (selectedEqualizerObjects: Objects) to (selectedEqualizerObjects: Instances)
- 648 Change Parameters of OpenAttenuationCurveEditorSignal from (selectedCurveObjects: Objects) to (selectedCurveObjects: Instances)
- 648 Add OpenDirectionalCurveEditor
- 648 Change Parameters of OpenAttenuationCurveEditor from (selectedCurveObjects: Objects) to (selectedCurveObjects: Instances)
- 645 Add GetAudioInstances
- 645 Add DefaultListenerLocation
- 630 Add OpenAudioEqualizerEditorSignal
- 629 Add OpenAttenuationCurveEditorSignal
- 629 Add OpenAttenuationCurveEditor
- 599 Add AudioInstanceAdded
- 573 Change ReturnType of SetOutputDevice from void to null
- 573 Change ReturnType of SetListener from void to null
- 573 Change ReturnType of SetInputDevice from void to null
- 573 Change ReturnType of PlayLocalSound from void to null
- 559 Add
- 553 Change Default of VolumetricAudio from to Automatic
- 553 Change Default of RolloffScale from to 1
- 553 Change Default of RespectFilteringEnabled from to false
- 553 Change Default of DopplerScale from to 1
- 553 Change Default of DistanceFactor from to 3.32999992
- 553 Change Default of AmbientReverb from to NoReverb
- 550 Add SetInputDevice
- 550 Add GetInputDevices
- 550 Add GetInputDevice
- 538 Change Tags of VolumetricAudio from [NotScriptable, NotBrowsable] to [NotScriptable]
- 536 Add VolumetricAudio
- 486 Change ThreadSafety of RolloffScale from ReadOnly to ReadSafe
- 486 Change ThreadSafety of RespectFilteringEnabled from ReadOnly to ReadSafe
- 486 Change ThreadSafety of DopplerScale from ReadOnly to ReadSafe
- 486 Change ThreadSafety of DistanceFactor from ReadOnly to ReadSafe
- 486 Change ThreadSafety of AmbientReverb from ReadOnly to ReadSafe
- 475 Add DeviceListChanged
- 473 Remove PlayStockSound
- 467 Add SetOutputDevice
- 467 Add GetOutputDevices
- 467 Add GetOutputDevice
- 462 Change ThreadSafety of SetRecordingDevice from to Unsafe
- 462 Change ThreadSafety of SetListener from to Unsafe
- 462 Change ThreadSafety of PlayStockSound from to Unsafe
- 462 Change ThreadSafety of PlayLocalSound from to Unsafe
- 462 Change ThreadSafety of GetSoundMemoryData from to Unsafe
- 462 Change ThreadSafety of GetRecordingDevices from to Unsafe
- 462 Change ThreadSafety of GetListener from to Unsafe
- 462 Change ThreadSafety of EndRecording from to Unsafe
- 462 Change ThreadSafety of BeginRecording from to Unsafe
- 462 Change ThreadSafety of RolloffScale from to ReadOnly
- 462 Change ThreadSafety of RespectFilteringEnabled from to ReadOnly
- 462 Change ThreadSafety of DopplerScale from to ReadOnly
- 462 Change ThreadSafety of DistanceFactor from to ReadOnly
- 462 Change ThreadSafety of AmbientReverb from to ReadOnly
- 372 Add GetSoundMemoryData
- 305 Add RespectFilteringEnabled
- 259 Add PlayLocalSound
- 252 Add SetRecordingDevice
- 252 Add GetRecordingDevices
- 251 Change Tags of EndRecording from [] to [Yields]
- 251 Change Security of EndRecording from RobloxSecurity to RobloxScriptSecurity
- 251 Change ReturnType of EndRecording from string to Dictionary
- 251 Change Security of BeginRecording from RobloxSecurity to RobloxScriptSecurity
- 251 Change ReturnType of BeginRecording from void to bool
- 250 Change ReturnType of EndRecording from Dictionary to string
- 250 Change Security of EndRecording from RobloxScriptSecurity to RobloxSecurity
- 250 Change Tags of EndRecording from [Yields] to []
- 250 Change Security of BeginRecording from RobloxScriptSecurity to RobloxSecurity
- 250 Change ReturnType of BeginRecording from bool to void
- 251 Change Tags of EndRecording from [] to [Yields]
- 251 Change Security of EndRecording from RobloxSecurity to RobloxScriptSecurity
- 251 Change ReturnType of EndRecording from string to Dictionary
- 251 Change Security of BeginRecording from RobloxSecurity to RobloxScriptSecurity
- 251 Change ReturnType of BeginRecording from void to bool
- 249 Add EndRecording
- 249 Add BeginRecording
- 210 Add SetListener
- 210 Add GetListener
- 79 Change Tags of RolloffScale from [preliminary] to []
- 79 Change Tags of DopplerScale from [preliminary] to []
- 79 Change Tags of DistanceFactor from [preliminary] to []
- 79 Change Tags of AmbientReverb from [preliminary] to []
- 78 Change Tags of RolloffScale from [] to [preliminary]
- 78 Change Tags of DopplerScale from [] to [preliminary]
- 78 Change Tags of DistanceFactor from [] to [preliminary]
- 78 Change Tags of AmbientReverb from [] to [preliminary]
- 79 Change Tags of RolloffScale from [preliminary] to []
- 79 Change Tags of DopplerScale from [preliminary] to []
- 79 Change Tags of DistanceFactor from [preliminary] to []
- 79 Change Tags of AmbientReverb from [preliminary] to []
- 47 Add PlayStockSound
- 47 Add RolloffScale
- 47 Add DopplerScale
- 47 Add DistanceFactor
- 47 Add AmbientReverb
- 47 Add SoundService
Members 39
AcousticSimulationEnabled
| Type | Default | |
|---|---|---|
| bool | false | |
Determines at a global level whether sound from AudioEmitters and AudioListeners should automatically implement features of acoustic simulation, such as occlusion (being muffled through walls), diffraction (bending around corners), and reverberation (echoing off of walls).
If set to false, these instances will not simulate these features,
regardless of their individual
AcousticSimulationEnabled
settings.
| Thread safety | ReadSafe |
|---|---|
| Category | Data |
| Loaded/Saved | true |
History 1
AmbientReverb
| Type | Default | |
|---|---|---|
| ReverbType | NoReverb | |
A reverb preset that should be applied to all Sounds in the experience.
Each ReverbType option for this property corresponds to a preset available in the FMOD sound engine. For example, when AmbientReverb is set to ReverbType.Hangar, Sounds will have reverb applied to simulate being in a large enclosed space.
Note that this only affects Sounds and not instances in the advanced audio system such as AudioPlayers and AudioEmitters. See AudioReverb for a way to apply reverb in that system.
| Thread safety | ReadSafe |
|---|---|
| Category | Data |
| Loaded/Saved | true |
History 7
- 553 Change Default of AmbientReverb from to NoReverb
- 486 Change ThreadSafety of AmbientReverb from ReadOnly to ReadSafe
- 462 Change ThreadSafety of AmbientReverb from to ReadOnly
- 79 Change Tags of AmbientReverb from [preliminary] to []
- 78 Change Tags of AmbientReverb from [] to [preliminary]
- 79 Change Tags of AmbientReverb from [preliminary] to []
- 47 Add AmbientReverb
AudioInstanceAdded
| Parameters (1) | |
|---|---|
| instance | Instance |
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
BeginRecording
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| bool | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 8
- 462 Change ThreadSafety of BeginRecording from to Unsafe
- 251 Change Security of BeginRecording from RobloxSecurity to RobloxScriptSecurity
- 251 Change ReturnType of BeginRecording from void to bool
- 250 Change Security of BeginRecording from RobloxScriptSecurity to RobloxSecurity
- 250 Change ReturnType of BeginRecording from bool to void
- 251 Change Security of BeginRecording from RobloxSecurity to RobloxScriptSecurity
- 251 Change ReturnType of BeginRecording from void to bool
- 249 Add BeginRecording
CharacterSoundsUseNewApi
| Type | Default | |
|---|---|---|
| RolloutState | Default | |
Determines which set of instances core scripts will use to create default character sounds. If set to RolloutState.Enabled, it will use instances in the advanced audio system such as AudioPlayers and AudioEmitters. If set to RolloutState.Disabled, it will use instances in the legacy sound system such as Sounds.
| Write security | PluginSecurity |
|---|---|
| Thread safety | ReadSafe |
| Category | Data |
| Loaded/Saved | true |
History 1
DefaultListenerLocation
| Type | Default | |
|---|---|---|
| ListenerLocation | Default | |
Determines where to place an AudioListener by default. The AudioListener will automatically be wired to a AudioDeviceOutput and will have an empty AudioListener.InteractionGroup set.
See ListenerLocation for detailed descriptions of each option.
| Security | PluginSecurity |
|---|---|
| Thread safety | ReadSafe |
| Category | Data |
| Loaded/Saved | true |
History 1
DeviceListChanged
| Parameters (1) | |
|---|---|
| newDevices | Tuple |
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
- 475 Add DeviceListChanged
DistanceFactor
| Type | Default | |
|---|---|---|
| float | 3.32999992 | |
The number of studs to be considered a meter by SoundService when simulating the Doppler effect for Sounds. This impacts any Sound parented to a BasePart or Attachment.
By default, this property is 3.33, meaning that a meter is considered
3.33 studs for the purposes of simulating the Doppler effect. The greater
the DistanceFactor, the faster the
listener has to travel relative to Sounds in order to
experience the same Doppler shift.
It's recommended that you only change this property if the objects in your experience are scaled differently from what they represent. For example, if your character is meant to be very small (but is normal-sized in the engine), you may want to increase SoundService.DistanceFactor.
Note that this does not impact the behavior of instances in the advanced audio system, such as AudioPlayer or AudioEmitter.
| Thread safety | ReadSafe |
|---|---|
| Category | Data |
| Loaded/Saved | true |
History 7
- 553 Change Default of DistanceFactor from to 3.32999992
- 486 Change ThreadSafety of DistanceFactor from ReadOnly to ReadSafe
- 462 Change ThreadSafety of DistanceFactor from to ReadOnly
- 79 Change Tags of DistanceFactor from [preliminary] to []
- 78 Change Tags of DistanceFactor from [] to [preliminary]
- 79 Change Tags of DistanceFactor from [preliminary] to []
- 47 Add DistanceFactor
DopplerScale
| Type | Default | |
|---|---|---|
| float | 1 | |
This property determines the degree to which the pitch of a Sound varies due to the Doppler effect. This impacts any Sound parented to a BasePart or Attachment.
The Doppler effect is a phenomenon whereby the pitch of a sound changes as
the source and observer of the sound move further away or closer together,
which is stronger the more quickly they are moving. Increasing
SoundService.DopplerScale exaggerates the impact of this effect,
whereas decreasing it minimizes it. By default, the value of this property
is 1.
Note that this does not impact the behavior of instances in the advanced audio system, such as AudioPlayer or AudioEmitter.
| Thread safety | ReadSafe |
|---|---|
| Category | Data |
| Loaded/Saved | true |
History 7
- 553 Change Default of DopplerScale from to 1
- 486 Change ThreadSafety of DopplerScale from ReadOnly to ReadSafe
- 462 Change ThreadSafety of DopplerScale from to ReadOnly
- 79 Change Tags of DopplerScale from [preliminary] to []
- 78 Change Tags of DopplerScale from [] to [preliminary]
- 79 Change Tags of DopplerScale from [preliminary] to []
- 47 Add DopplerScale
EndRecording
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| Dictionary | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 11
- 462 Change ThreadSafety of EndRecording from to Unsafe
- 251 Change Tags of EndRecording from [] to [Yields]
- 251 Change Security of EndRecording from RobloxSecurity to RobloxScriptSecurity
- 251 Change ReturnType of EndRecording from string to Dictionary
- 250 Change ReturnType of EndRecording from Dictionary to string
- 250 Change Security of EndRecording from RobloxScriptSecurity to RobloxSecurity
- 250 Change Tags of EndRecording from [Yields] to []
- 251 Change Tags of EndRecording from [] to [Yields]
- 251 Change Security of EndRecording from RobloxSecurity to RobloxScriptSecurity
- 251 Change ReturnType of EndRecording from string to Dictionary
- 249 Add EndRecording
GetAudioApiByDefault
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| bool | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
GetAudioInstances
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| Array | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
- 645 Add GetAudioInstances
GetInputDevice
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| Tuple | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
- 550 Add GetInputDevice
GetInputDevices
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| Tuple | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
- 550 Add GetInputDevices
GetListener
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| Tuple | ||
Returns the current listener type used by Sounds and what object or position that listener is currently set to. This is the point from which Sound audio in the experience is heard by the player. By default, the listener is set to Workspace.CurrentCamera. The listener can be changed using SetListener().
Note that this does not affect the listener location when using the advanced audio system. See AudioListener for a way to set the listener location in that system.
| Thread safety | Unsafe |
|---|
History 2
- 462 Change ThreadSafety of GetListener from to Unsafe
- 210 Add GetListener
GetOutputDevice
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| Tuple | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
- 467 Add GetOutputDevice
GetOutputDevices
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| Tuple | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
- 467 Add GetOutputDevices
GetRecordingDevices
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| Dictionary | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 2
- 462 Change ThreadSafety of GetRecordingDevices from to Unsafe
- 252 Add GetRecordingDevices
GetSoundMemoryData
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| Dictionary | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 2
- 462 Change ThreadSafety of GetSoundMemoryData from to Unsafe
- 372 Add GetSoundMemoryData
InsertAsset
| Parameters (3) | Default | |
|---|---|---|
| assetId | ContentId | |
| assetName | string | |
| useSelection | bool | true |
| Returns (1) | ||
| Instances | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
- 660 Add InsertAsset
OpenAttenuationCurveEditor
| Parameters (1) | ||
|---|---|---|
| selectedCurveObjects | Instances | |
| Returns (1) | ||
| null | ||
Opens the attenuation curve editor in Studio for the provided AudioEmitter or AudioListener instances.
| Security | PluginSecurity |
|---|---|
| Thread safety | Unsafe |
History 2
- 648 Change Parameters of OpenAttenuationCurveEditor from (selectedCurveObjects: Objects) to (selectedCurveObjects: Instances)
- 629 Add OpenAttenuationCurveEditor
OpenAttenuationCurveEditorSignal
| Parameters (1) | |
|---|---|
| selectedCurveObjects | Instances |
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 2
- 648 Change Parameters of OpenAttenuationCurveEditorSignal from (selectedCurveObjects: Objects) to (selectedCurveObjects: Instances)
- 629 Add OpenAttenuationCurveEditorSignal
OpenAudioCompressorEditorSignal
| Parameters (1) | |
|---|---|
| selectedCompressorObjects | Instances |
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
OpenAudioEqualizerEditorSignal
| Parameters (1) | |
|---|---|
| selectedEqualizerObjects | Instances |
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 2
- 648 Change Parameters of OpenAudioEqualizerEditorSignal from (selectedEqualizerObjects: Objects) to (selectedEqualizerObjects: Instances)
- 630 Add OpenAudioEqualizerEditorSignal
OpenDirectionalCurveEditor
| Parameters (1) | ||
|---|---|---|
| selectedCurveObjects | Instances | |
| Returns (1) | ||
| null | ||
Opens the directional curve editor in Studio for the provided AudioEmitter or AudioListener instances.
| Security | PluginSecurity |
|---|---|
| Thread safety | Unsafe |
History 2
- 649 Change Security of OpenDirectionalCurveEditor from RobloxScriptSecurity to PluginSecurity
- 648 Add OpenDirectionalCurveEditor
OpenDirectionalCurveEditorSignal
| Parameters (1) | |
|---|---|
| selectedCurveObjects | Instances |
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
PlayLocalSound
| Parameters (1) | ||
|---|---|---|
| sound | Instance | |
| Returns (1) | ||
| null | ||
Plays a copy of a Sound locally. The Sound will only be heard by the client calling this method, regardless of where it's parented to.
Some properties of the Sound will be carried over into the copy. These include its Sound.Volume, Sound.TimePosition, Sound.PlaybackSpeed, and any spatialization and effects that are applied to it, including through SoundGroups. Properties that do not affect the copy include Sound.Looped and SoundService.AmbientReverb.
| Thread safety | Unsafe |
|---|
History 3
- 573 Change ReturnType of PlayLocalSound from void to null
- 462 Change ThreadSafety of PlayLocalSound from to Unsafe
- 259 Add PlayLocalSound
RespectFilteringEnabled
| Type | Default | |
|---|---|---|
| bool | false | |
This property determines whether Sound playback is replicated from
the client to the server, and therefore from the server. In other words,
when a LocalScript calls Play() and this
property is true, the sound will only play on the respective client. If
this property is false, other clients will also hear the sound.
Default is true, meaning filtering is enabled.
| Thread safety | ReadSafe |
|---|---|
| Category | Data |
| Loaded/Saved | true |
History 4
- 553 Change Default of RespectFilteringEnabled from to false
- 486 Change ThreadSafety of RespectFilteringEnabled from ReadOnly to ReadSafe
- 462 Change ThreadSafety of RespectFilteringEnabled from to ReadOnly
- 305 Add RespectFilteringEnabled
RolloffScale
| Type | Default | |
|---|---|---|
| float | 1 | |
Determines how fast the volume of a spatialized Sound attenuates. This impacts any Sound parented to a BasePart or Attachment.
A higher RolloffScale means the volume of a Sound will attenuate more rapidly as the distance between the listener and the Sound grows. More precisely, the volume of the Sound will still start attenuating at a distance equal to Sound.RollOffMinDistance, but the attenuation curve will be steeper or more gradual based on the value of RolloffScale. Note that the Sound will still be inaudible past its the Sound.RollOffMaxDistance regardless of the value of SoundService.RolloffScale.
Note that this property does not affect the behavior of instances in the advanced audio system, such as AudioEmitter. See AudioEmitter:SetDistanceAttenuation for a way to apply custom attenuation in that system.
| Thread safety | ReadSafe |
|---|---|
| Category | Data |
| Loaded/Saved | true |
History 7
- 553 Change Default of RolloffScale from to 1
- 486 Change ThreadSafety of RolloffScale from ReadOnly to ReadSafe
- 462 Change ThreadSafety of RolloffScale from to ReadOnly
- 79 Change Tags of RolloffScale from [preliminary] to []
- 78 Change Tags of RolloffScale from [] to [preliminary]
- 79 Change Tags of RolloffScale from [preliminary] to []
- 47 Add RolloffScale
SetAudioApiByDefault
| Parameters (1) | ||
|---|---|---|
| enabled | bool | |
| Returns (1) | ||
| null | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
SetInputDevice
| Parameters (2) | ||
|---|---|---|
| name | string | |
| guid | string | |
| Returns (1) | ||
| null | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 2
- 573 Change ReturnType of SetInputDevice from void to null
- 550 Add SetInputDevice
SetListener
| Parameters (2) | ||
|---|---|---|
| listenerType | ListenerType | |
| listener | Tuple | |
| Returns (1) | ||
| null | ||
Sets the listener type for any Sounds in the experience, which defines the point from which Sound audio in the experience is heard by the player. For Sounds parented to a BasePart or Attachment, the listener influences the volume and left/right balance of a playing sound. By default, this listener is set to Workspace.CurrentCamera.
Note that this does not affect the listener location when using the advanced audio system. See AudioListener for a way to set the listener location in that system.
| Thread safety | Unsafe |
|---|
History 3
- 573 Change ReturnType of SetListener from void to null
- 462 Change ThreadSafety of SetListener from to Unsafe
- 210 Add SetListener
SetOutputDevice
| Parameters (2) | ||
|---|---|---|
| name | string | |
| guid | string | |
| Returns (1) | ||
| null | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 2
- 573 Change ReturnType of SetOutputDevice from void to null
- 467 Add SetOutputDevice
SetRecordingDevice
| Parameters (1) | ||
|---|---|---|
| deviceIndex | int | |
| Returns (1) | ||
| bool | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 2
- 462 Change ThreadSafety of SetRecordingDevice from to Unsafe
- 252 Add SetRecordingDevice
SetSoundEnabled
| Parameters (1) | ||
|---|---|---|
| enabled | bool | |
| Returns (1) | ||
| null | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
- 673 Add SetSoundEnabled
VolumetricAudio
| Type | Default | |
|---|---|---|
| VolumetricAudio | Automatic | |
Determines whether any Sounds parented to a Part emit volumetrically. If set to VolumetricAudio.Enabled, the Sound will simulate being emitted from every point in the interior of the Part. If set to VolumetricAudio.Disabled, the Sound will only emit from a single point in the center of the Part.
Note that this does not impact Sounds parented to other objects, such as Attachments or MeshParts. This also does not impact the behavior of instances in the advanced audio system such as AudioEmitter.
| Thread safety | ReadSafe |
|---|---|
| Category | Data |
| Loaded/Saved | true |
History 3
- 553 Change Default of VolumetricAudio from to Automatic
- 538 Change Tags of VolumetricAudio from [NotScriptable, NotBrowsable] to [NotScriptable]
- 536 Add VolumetricAudio
Removed members 2
AudioPlayerVolumeFix
| Type | Default | |
|---|---|---|
| RolloutState | Default | |
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | ReadSafe |
| Category | Data |
| Loaded/Saved | true |
History 2
- 699 Remove AudioPlayerVolumeFix
- 686 Add AudioPlayerVolumeFix
PlayStockSound
| Parameters (1) | ||
|---|---|---|
| sound | SoundType | |
| Returns (1) | ||
| void | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 3
- 473 Remove PlayStockSound
- 462 Change ThreadSafety of PlayStockSound from to Unsafe
- 47 Add PlayStockSound