Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
Audio
Adding audio to your games is crucial for elevating your games to new heights. By strategically using positional and non-positional audio, you can immerse players into your worlds, provide them useful feedback for their actions, and direct their attention to what they need to do to be successful in their objectives.
Audio assets
You can import audio assets that you're certain you have permission to use, such as audio that you make yourself. However, Roblox's Creator Store provides you a wide variety of free-to-use audio assets, including more than 100,000 professionally-produced sound effects and music tracks from top audio and music partners.
Audio objects
Roblox offers many different types of audio objects that you can use to play and modify your audio until it meets your game's design requirements:
- The
AudioPlayerobject loads and plays the audio file using a set audio asset ID. - The
AudioEmitterobject is a virtual speaker that emits audio into the 3D environment. - The
AudioListenerobject is a virtual microphone that picks up audio from the 3D environment. - The
AudioDeviceOutputobject is a physical hardware device within the real world, such as a speaker or headphones. - The
AudioDeviceInputobject is a physical microphone within the real world. - The
AudioTextToSpeechobject converts text to audio using an artificial voice. - The
AudioSpeechToTextobject converts audio to text. Wirescarry audio streams from one object to another.
Using these objects, you can either set audio to play automatically at runtime, or trigger it to play from scripts. For practical applications of these audio objects, see the Add 2D audio, Add 3D audio, Add text-to-speech, Add speech-to-text, and Add voice chat tutorials.
Audio effects
Audio effects non-destructively modify or enhance audio streams from AudioPlayer objects. You can apply these effects to make your environments more captivating and immersive, such as using a AudioEqualizer object to make rain sound muffled, AudioCompressor object to control a sound's maximum volume, or AudioReverb to add more realistic reflections of sound in interior spaces.