Sound and Music

*เนื้อหานี้จะพร้อมใช้งานในภาษาที่คุณเลือกในเร็วๆ นี้

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 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 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 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 Sound object to a 3D object or Attachment to behave as positional audio. If you want users to hear audio regardless of their position, you must insert the Sound object directly into Workspace or SoundService to behave as background audio.

Sound Groups

A sound group acts as an audio mixer for multiple audio objects, such as Sound objects or additional 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 Sound objects or an entire SoundGroup. You can apply these effects to make audio more immersive within the experience, such as using EqualizerSoundEffect to make rain sound muffled, CompressorSoundEffect to control a sound's maximum volume, or ReverbSoundEffect to add more realistic reflections of sound in interior spaces.