Command Palette

Search for a command to run...

Back to skills
skill № 28575

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…

FreeRuns bundled scripts
nonloopedby 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
Sign up freeI already have an account

About this skill

roblox-audio

Official sources:

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:

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 → Sound is 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; uses AudioDeviceInput under the hood when UseAudioApi is enabled).
  • Acoustic simulation (occlusion, diffraction, reverb) → audio graph with SoundService.AcousticSimulationEnabled = true and per-instance AcousticSimulationEnabled on emitters/listeners.
  • Quick prototype / one-shot UI click sound → Sound is 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

Full SKILL.md on GitHub

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

Compare roblox-audio with