Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 2.44 KB

index.md

File metadata and controls

24 lines (14 loc) · 2.44 KB
title description
Sound and Music
An overview of sound and music features on Roblox

Sound effects and music enhance your experiences and make them more immersive. You can import your own audio assets or search for free-to-use audio in the Creator Store, play audio through Class.Sound or objects, and enhance audio playback through dynamic effects.

Audio Assets

You can import audio assets that you're certain you have permission to use, such as audio you make yourself. If you are uncertain whether you have permission to use an audio file, the Creator Store contains a wide variety of free-to-use audio, including more than 100,000 professionally-produced sound effects and music tracks from top audio and music partners.

Sound Objects

A sound object emits audio within an experience. Roblox assigns each audio asset a unique ID that you can assign to Class.Sound objects to play a specific sound effect or music track. You can either set this audio to play automatically at runtime, or trigger it to play from scripts.

The location of where you place a Class.Sound object in the Explorer hierarchy affects how users hear audio. If you want users to only hear audio near a specific position, you must parent the Class.Sound object to a 3D object or Class.Attachment to behave as positional audio. If you want users to hear audio regardless of their position, you must insert the Class.Sound object directly into Class.Workspace or Class.SoundService to behave as background audio.

Sound Groups

A sound group acts as an audio mixer for multiple audio objects, such as Class.Sound objects or additional Class.SoundGroup|SoundGroups, allowing you to control the volume and dynamic effects properties of multiple audio signals at once.

Dynamic Effects

Dynamic effects modify or enhance the audio of individual Class.Sound objects or an entire Class.SoundGroup. You can apply these effects to make audio more immersive within the experience, such as using Class.EqualizerSoundEffect to make rain sound muffled, Class.CompressorSoundEffect to control a sound's maximum volume, or Class.ReverbSoundEffect to add more realistic reflections of sound in interior spaces.