--- name: roblox-audio description: "Use when adding, fixing or reviewing Roblox audio: AudioPlayer/Wire graphs, legacy Sound, uploads and permissions, spatial mix, leveling." when_to_use: "Also when a sound doesn't play or is silent for other players, 3D audio is silent, a sound pans or jumps with the camera, is too loud, clips, clicks or is cut off, plays late, or when auditing audio assets, slices or the mix." last_reviewed: 2026-11-29 sources: - https://create.roblox.com/docs/audio/objects - https://create.roblox.com/docs/audio/assets - https://create.roblox.com/docs/projects/assets/privacy - https://create.roblox.com/docs/reference/engine/classes/SoundService - https://create.roblox.com/docs/reference/engine/enums/ListenerLocation - https://create.roblox.com/docs/reference/engine/classes/AudioPlayer - https://create.roblox.com/docs/reference/engine/classes/AudioEmitter - https://create.roblox.com/docs/reference/engine/classes/AudioTextToSpeech - https://create.roblox.com/docs/reference/engine/classes/AudioStreamReader - https://raw.githubusercontent.com/Roblox/creator-docs/main/content/en-us/reference/engine/classes/Sound.yaml - https://devforum.roblox.com/t/full-release-acoustic-simulation-emit-audio-with-presence/4307121 - https://devforum.roblox.com/t/studio-beta-sounds-support-acoustic-simulation-for-more-immersive-audio/5003368 - original --- # Roblox Audio ## When to Load Playing, mixing, leveling or debugging audio with the audio API (`AudioPlayer`, `AudioEmitter`, `AudioListener`, `Wire`, `Audio*` effects) or legacy `Sound`/`SoundGroup`. Generating or picking sounds: tool skills; translated speech text: `roblox-text`. "Field case" = seen in one of the owner's projects; verify on your content. ## Traps and review checklist (symptom -> cause -> fix) - **Plays for you in Studio, silent for others or in another game** -> uploaded audio starts private: only the uploader can use it until the asset privacy system grants it to specific friends or experiences. Grant the experience on the asset's permissions page (or upload as the group that owns the game). The Creator Dashboard "Asset Privacy" toggle covers images, decals and meshes only; it neither causes nor fixes audio access (§1). - **3D `AudioEmitter` silent, 2D `AudioPlayer -> AudioDeviceOutput` fine** -> no listener. `SoundService.DefaultListenerLocation = Default` creates one only for the default voice setup with the audio API (`VoiceChatService.EnableDefaultVoice`, `UseAudioApi`). Set it to `Camera` or `Character` (the engine then also creates the `AudioDeviceOutput`), or create and wire your own `AudioListener` with `None`. Game scripts can't set it: `PluginOrOpenCloud` capability, so set it in Studio. Also check emitter and listener share an `AudioInteractionGroup` (default listener: empty). - **`AudioPlayer` "plays" (`IsPlaying` true) but nothing is heard** -> nothing is wired. Every hop needs a `Wire` with `SourceInstance`/`TargetInstance` (`AudioPlayer -> Wire -> AudioDeviceOutput` or `-> AudioEmitter`); audio-API effects are wired in between (one effect can take several players), not parented like legacy `SoundEffect`s. - **Toolbox sound has none of the audio-API features** -> clicking a Creator Store audio inserts a legacy `Sound`. Copy the asset ID into an `AudioPlayer` instead. `Sound`, `SoundGroup` and `SoundEffect` are "now discouraged" in the docs ; keep working legacy code, build new audio on the audio API. - **UI click, reward chime or own gunshot pans and jumps as the camera turns** -> a positionless cue played on a 3D voice parked at the camera (field case, reported by players as glitchy audio). Play it flat: `Sound` parented to `SoundService` (no part or attachment) or `AudioPlayer -> AudioDeviceOutput`. The local player's own first-person weapon on an offset part plays in one ear: play it flat, keep 3D for other players' weapons. - **Shot or blast distorts** -> `Volume` accepts 0-10 (`Sound` default 0.5) but shots at 2.2 clipped (field case). Keep `Volume` <= 1; if a distant sound is too quiet, raise `RollOffMinDistance` per cue (blasts far larger than footsteps) before `Volume`. - **"Too quiet" thump stays weak when turned up** -> the file has almost no energy above ~300 Hz, or its tail is too short. Layer a bright transient or pick a longer-tailed take; measure band energy and tail, don't just add gain (field case). - **Hit sound plays late or booms after the slam** -> slice started at 0 while the loudest hit is 0.45 s in (field case). Start the region a few hundredths of a second before the peak, schedule by measured onset, and trim leading silence (many library files open with silence or hold several takes back to back). - **Middle hit of a fast combo is silent** -> a 0.3 s cooldown dropped a slam 0.28 s after the previous one; a particle throttle gated landing hits (field cases). Set caps from the fastest real event spacing; every visible event gets a sound, even a quiet one. - **Gunshot sounds clipped, held drill clicks** -> region cut mid-ring (fade only once the tail is ~30 dB down) / held sound built from repeated slices. Play a held sound as one looped voice over a flat-RMS loop region, fast fade in, slow fade out. - **Test counts too few plays** -> `Sound.Played` did not fire for replays of region-sliced sounds while `IsPlaying` showed them (field case). Count `IsPlaying` rising edges or count in your own play wrapper. - **"Famous" platform sound is the wrong recording** -> most Creator Store copies titled as a classic sound were different recordings (field case). Some classics ship with the client by content path (`rbxasset://sounds/oof.ogg`). - **Walls muffle `AudioEmitter`s but not a `Sound`** -> acoustic simulation is live in published games for the audio API only (out of beta 2026-09-22). `Sound` support ("Sounds Use Wiring") is a Studio-only beta since 2026-11-24 . Put occluded sources on the audio API, or keep raycast muffling for `Sound`s (§2). ## Limits | Item | Value | |---|---| | Upload file | `.mp3`/`.ogg`/`.wav`/`.flac`, single track, < 20 MB, < 7 min, <= 48 kHz, mono/stereo/3.0/5.1 | | Upload quota | 100 per 30 days unverified, 2,000 per 30 days ID-verified; moderated before others can hear it | | `Sound.Volume`, `AudioPlayer.Volume` | 0-10; `Sound` default 0.5; > 1 clipped in a field case | | `AudioEmitter.DistanceAttenuationMode` | default `Custom` (curve from `SetDistanceAttenuation`); presets use `DistanceAttenuationBounds`, default 4-10,000 studs | | `AudioTextToSpeech.Text` | 300 characters per request; `AutoLocalize` defaults `true` (translates and re-voices; set `false` for verbatim names) | | `AudioStreamReader` / `AudioStreamWriter` | Studio-only, not in Team Create: tooling, not gameplay | | Leveling (field working set) | music ~ -28.5 LUFS effective, ambience ~5 dB under music, effects ~ -18 LUFS per take, true peak <= -3 dBTP; `Volume = 10^((target - LUFS) / 20)`; slices < 0.4 s gate to ~ -70 LUFS, level them by peak | ## 1. Assets and permissions - Upload through Asset Manager, Creator Dashboard or Open Cloud `assets/v1` (`assetType: Audio`; a group `creator` makes it a group asset). Studio transcodes on import; an import error usually means the transcode rejected the file (old tools write bad headers). - Uploads are classified as sound effect or song; a song can show on the game page only if the uploader is ID-verified and it passes moderation, copyright and play-count checks. - Licensed library sounds in the Creator Store can be used by id without uploading; search with the library's exact title shape (descriptive queries mostly return ripped game audio). Newer music uploads carry album/artist fields: the album holds main, underscore, short and sting cuts. Screen "instrumental" picks for speech. Prefer mono effect takes: one stereo file was 14 dB louder on one side and stayed panned on flat voices (field case). ## 2. Acoustic simulation and occlusion - `SoundService.AcousticSimulationEnabled` (global) plus `AcousticSimulationEnabled` on the `AudioEmitter` and `AudioListener` adds occlusion, diffraction and reverberation; the global switch off overrides both. `AudioEmitter.SimulationFidelity` trades detail for cost; when emitter and listener disagree, the less detailed one wins. Profile dense scenes (many NPC emitters). - Fallback for a few important sources: a few times a second, ray from the listener to the source; when blocked, ease volume down and cut highs (`AudioEqualizer` / `EqualizerSoundEffect`), never switch hard. Interior TVs and radios stacked through walls and many car alarms fired at once (field case): cap concurrent instances of one ambient or alarm sound.