roblox-audio
Build or debug Roblox music, spatial audio, effects, text-to-speech, and speech-to-text. Use for audio graphs, asset permissions, playback problems, or…
by nonlooped★ 40 GitHub stars
Install roblox-audio in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
roblox-audio
Official sources:
- https://create.roblox.com/docs/en-us/audio/objects (audio graph overview)
- https://create.roblox.com/docs/en-us/audio/effects (audio effects)
- https://create.roblox.com/docs/en-us/reference/engine/classes/Sound (legacy
Sound) - https://create.roblox.com/docs/en-us/reference/engine/classes/SoundService
- Engine classes:
AudioPlayer,AudioEmitter,AudioListener,AudioDeviceOutput,AudioDeviceInput,AudioTextToSpeech,AudioSpeechToText,Wire,AudioEqualizer,AudioCompressor,AudioReverb,AudioChorus,AudioDistortion,AudioEcho,AudioFlanger,AudioPitchShifter,AudioTremolo,AudioFader,AudioAnalyzer - Full reference: https://create.roblox.com/docs/en-us/reference/engine
Roblox recommends audio objects over Sound, SoundGroup, and SoundEffect. New work should use the graph; legacy code can keep using Sound where the graph offers no advantage.
Cross-reference:
- roblox-core/SKILL.md for services and script locations.
- roblox-animation/SKILL.md for driving audio from animation markers (footsteps, impact sounds).
- roblox-user-interfaces/SKILL.md for UI-triggered sound feedback.
- roblox-networking/SKILL.md for client-authoritative cosmetic audio vs server-authoritative gameplay audio.
The two systems
Modern audio graph (recommended for new work)
Modular instances that mirror real-world audio devices. Each object produces, consumes, modifies, or carries an audio stream. You wire them together with Wire instances (SourceInstance → TargetInstance).
| Object | Role | Real-world analog |
|---|---|---|
AudioPlayer |
Produces a stream from an audio asset ID | A audio file player |
AudioEmitter |
Emits a stream into the 3D environment (parent position = emission point) | A speaker in the world |
AudioListener |
Picks up streams from the environment (parent = camera or character) | A microphone in the world |
AudioDeviceOutput |
Plays a stream to the player's physical speaker/headphones | The player's hardware output |
AudioDeviceInput |
Captures audio from the player's physical microphone | The player's hardware mic |
AudioTextToSpeech |
Converts text to audio with an artificial voice | A TTS engine |
AudioSpeechToText |
Converts spoken audio to text | A transcription engine |
Wire |
Carries a stream from SourceInstance to TargetInstance |
An audio cable |
Effects (all "modify" category): AudioEqualizer, AudioCompressor, AudioReverb, AudioChorus, AudioDistortion, AudioEcho, AudioFlanger, AudioPitchShifter, AudioTremolo, AudioFader, AudioAnalyzer. See references/audio-effects.md.
Legacy Sound system (still works, discouraged)
Sound parented to a BasePart or Attachment emits from that position with built-in Doppler and distance rolloff (RollOffMode, RollOffMaxDistance, RollOffMinDistance, EmitterSize). A "global" Sound (not parented to a part/attachment) plays at constant volume everywhere. SoundGroup controls group volume and effects; SoundEffect subclasses (EqualizerSoundEffect, ReverbSoundEffect, etc.) apply per-group effects. SoundService exposes global properties (AmbientReverb, DistanceFactor, DopplerScale, RespectFilteringEnabled) that affect Sound playback.
SoundService.AmbientReverb and the Doppler/distance properties affect only legacy Sound, not the audio graph. The graph has its own effect objects and per-emitter DistanceAttenuation curves.
Decision tree: which system?
- New experience, greenfield audio → audio graph. It supports TTS, STT, acoustic simulation, and routing.
- Simple 2D SFX or music with no routing/effects →
Soundis acceptable and simpler. Don't rewrite working legacy code just to migrate. - 3D positional audio with custom attenuation curves → audio graph (
AudioEmitter.DistanceAttenuation). - Multiple sources through one effect (e.g. all gunfire through one compressor) → audio graph (one effect, many players wired in).
- Text-to-speech or speech-to-text → audio graph (only the graph has
AudioTextToSpeech/AudioSpeechToText). - Voice chat / spatial voice →
VoiceChatService(separate from in-experience audio; usesAudioDeviceInputunder the hood whenUseAudioApiis enabled). - Acoustic simulation (occlusion, diffraction, reverb) → audio graph with
SoundService.AcousticSimulationEnabled = trueand per-instanceAcousticSimulationEnabledon emitters/listeners. - Quick prototype / one-shot UI click sound →
Soundis fine.
See references/audio-graph-vs-sound.md for a side-by-side property map and migration notes.
2D audio (non-directional)
Same volume everywhere. Requires: AudioPlayer → Wire → `AudioD
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- references/audio-effects.md
- references/audio-graph-vs-sound.md
- scripts/AudioBus.lua
FAQ
What does the roblox-audio skill do?
Build or debug Roblox music, spatial audio, effects, text-to-speech, and speech-to-text. Use for audio graphs, asset permissions, playback problems, or migration from Sound.
How do I install the roblox-audio skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the roblox-audio skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…