Roblox API Reference

SoundService On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.

Tags: [NotCreatable, Service]

Inherits (1)

Member index (22)

Type Member History
ReverbType AmbientReverb 79 78 79
float DistanceFactor 79 78 79
float DopplerScale 79 78 79
bool RespectFilteringEnabled 305
float RolloffScale 79 78 79
VolumetricAudio VolumetricAudio 536 538
bool BeginRecording () 249 251 251 250 250 251 251
Dictionary EndRecording () 249 251 251 251 250 250 250 251 251 251
Tuple GetInputDevice () 550
Tuple GetInputDevices () 550
Tuple GetListener () 210
Tuple GetOutputDevice () 467
Tuple GetOutputDevices () 467
Dictionary GetRecordingDevices () 252
Dictionary GetSoundMemoryData () 372
null PlayLocalSound (Instance sound) 259 573
null SetInputDevice (string name, string guid) 550 573
null SetListener (ListenerType listenerType, Tuple listener) 210 573
null SetOutputDevice (string name, string guid) 467 573
bool SetRecordingDevice (int deviceIndex) 252
AudioInstanceAdded (Instance instance) 599
DeviceListChanged (Tuple newDevices) 475
57 members inherited from Instance

Removed member index (1)

Type Member History
void PlayStockSound (SoundType sound) 473

History

Members

AmbientReverb On DevHub

History

AudioInstanceAdded On DevHub

Name Type Default
instance Instance none

History

BeginRecording On DevHub

Name Type Default
No parameters.

History

DeviceListChanged On DevHub

Name Type Default
newDevices Tuple none

History

DistanceFactor On DevHub

History

DopplerScale On DevHub

History

EndRecording On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
No parameters.

History

Tags: [Yields]

GetInputDevice On DevHub

Name Type Default
No parameters.

History

GetInputDevices On DevHub

Name Type Default
No parameters.

History

GetListener On DevHub

Name Type Default
No parameters.

History

GetOutputDevice On DevHub

Name Type Default
No parameters.

History

GetOutputDevices On DevHub

Name Type Default
No parameters.

History

GetRecordingDevices On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
No parameters.

History

Tags: [Yields]

GetSoundMemoryData On DevHub

Name Type Default
No parameters.

History

PlayLocalSound On DevHub

Name Type Default
sound Instance none

History

RespectFilteringEnabled On DevHub

History

RolloffScale On DevHub

History

SetInputDevice On DevHub

Name Type Default
name string none
guid string none

History

SetListener On DevHub

Name Type Default
listenerType ListenerType none
listener Tuple none

History

SetOutputDevice On DevHub

Name Type Default
name string none
guid string none

History

SetRecordingDevice On DevHub

Name Type Default
deviceIndex int none

History

VolumetricAudio On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

Removed members

PlayStockSound

Name Type Default
sound SoundType none

History

Relevant classes (1)

Relevant enums (3)