godot-audio
Skill54 starsChanged 14 days agoMITView on GitHub
Audio in Godot 4.7 - bus layout and effects, volume in linear vs dB, SFX players with polyphony and randomization, 3D positional audio (attenuation, doppler, Area reverb buses), adaptive music with AudioStreamInteractive/Synchronized/Playlist, procedural audio and capture, import/loop settings, web playback type. Use for sound effects, music systems, mixers or audio settings menus.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- Supra-skills-mdd7/kit-game-devtheir own version, first seen Nov 29, 2026
- edemaistre/godot-expert-skillstheir own version, first seen Nov 29, 2026
- gamedev-skills/awesome-gamedev-agent-skillstheir own version, first seen Nov 11, 2026
- MindsMaster/godot-claude-code-skillstheir own version, first seen Oct 25, 2026
- gosomea/dsh-godot-aitheir own version, first seen Oct 8, 2026
- vl4dt/godot-skillstheir own version, first seen Jun 21, 2026
Used with
Projects with it also use godot-multiplayer, godot-2d-movement and 5 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
gosomeaSkillgodot-multiplayer
设计 Godot 高层多人游戏:authority、RPC、MultiplayerSpawner/Synchronizer、状态复制、延迟与安全边界。
Also in 5 projects that use this
gosomeaSkillgodot-2d-movement
实现 Godot 4.7 的 CharacterBody2D 移动:速度、重力、跳跃、斜坡、coyote time 与输入反馈。制作 2D 玩家控制时使用。
Also in 3 projects that use this
arjun988Skillgodot-export
Godot-specific Blender export favoring GLTF/GLB with correct scale, materials, animation clips, and collision shapes via MCP.
Also in 3 projects that use this
- +4 more from gosomea
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- gamedev-skills/awesome-gamedev-agent-skills★ 9ksame name
- gosomea/dsh-godot-ai★ 9same name
- edemaistre/godot-expert-skills★ 8same name
- vl4dt/godot-skills★ 8same name
- MindsMaster/godot-claude-code-skills★ 3same name
- Supra-skills-mdd7/kit-game-dev★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository28 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- godot-2dSkill
- godot-3d-gameplaySkill
- godot-3d-renderingSkill
- godot-addonsSkill
- godot-animationSkill
- godot-architectureSkill
- godot-coreSkill
- godot-csharpSkill
- godot-editor-toolingSkill
- godot-export-ciSkill
- godot-game-feelSkill
- godot-gdscriptSkill
- godot-inputSkill
- godot-migrationSkill
- godot-mobile-webSkill
- godot-modding-dlcSkill
- godot-narrativeSkill
- godot-navigation-aiSkill
- godot-networkingSkill
- godot-performanceSkill
- godot-physicsSkill
- godot-proceduralSkill
- godot-shaders-vfxSkill
- godot-testing-debugSkill
- godot-uiSkill
- godot-xrSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 31
Keep music on its own player under the Music bus.
- Very specific: line 34
Use Ogg Vorbis for music and long ambience (streamed) and WAV for short SFX (low latency).
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Audio (4.7)
Headless runs use the Dummy audio driver, so code paths execute but nothing is heard. Ask the user to listen.
Bus layout (default_bus_layout.tres)
Master ← Music, SFX (← UI, Footsteps), Voice, Ambience. Players pick a bus (bus = &"SFX"). Put effects on buses, not per player: Reverb on an SFX_Reverb bus fed by sends, a Compressor on Music with a voice sidechain (ducking), and AudioEffectHardLimiter on Master (AudioEffectLimiter is deprecated).
Code: AudioServer.get_bus_index(&"Music"), set_bus_volume_linear(i, 0.8) (4.4+; use it for sliders), set_bus_volume_db, set_bus_mute, add_bus_effect and set_bus_effect_enabled.
Settings sliders should be linear 0..1. linear_to_db()/db_to_linear() convert when needed. Never put dB on a slider directly.
Players
AudioStreamPlayer(UI and music),AudioStreamPlayer2DandAudioStreamPlayer3D(positional).volume_linearexists too.- Overlapping SFX (gunshots, footsteps): raise
max_polyphonyon one player instead of spawning players. UseAudioStreamRandomizer(random pitch in semitones, 4.7random_pitch_semitones, random volume, several variations) as the stream. - Fire and forget: spawn a player,
play(), thenfinished.connect(queue_free). Pool them for heavy use (see the reference). - 3D: tune
unit_sizeandmax_distance,attenuation_model(inverse, inverse square, log, disabled),attenuation_filter_cutoff_hz(muffles distance),doppler_trackingon the player and theAudioListener3D/camera, andpanning_strength. Reverb zones:Area3D.reverb_bus_enabled+reverb_bus_name, oraudio_bus_override. - 4.7 change:
AudioStreamPlayer2D/3D.area_maskdefaults to 0. If you rely on Area bus overrides, set the mask to the areas' layer.
Music systems (no code-side crossfading hacks)
AudioStreamInteractive: clips (intro, explore, combat, boss) plus transition rules (add_transition(from, to, from_time, to_time, fade_mode, fade_beats, …)) with beat- or bar-synced switches. Switch at runtime with(player.get_stream_playback() as AudioStreamPlaybackInteractive).switch_to_clip_by_name(&"combat"). Set BPM, beat count and bar beats on the imported Ogg/WAV for musical timing.AudioStreamSynchronized: layered stems that play in sync. Fade layers withset_sync_stream_volume(i, db)(vertical layering).AudioStreamPlaylist: sequential or shuffled tracks with fades.- Keep music on its own player under the
Musicbus. Setprocess_mode = PROCESS_MODE_ALWAYSif it should keep playing in pause menus.
Import
Use Ogg Vorbis for music and long ambience (streamed) and WAV for short SFX (low latency). Set loops in the Import dock (loop for Ogg, edit/loop_mode for WAV) instead of in code. Trim silence on import for snappy SFX.
Procedural and analysis
AudioStreamGenerator+push_frame()/push_buffer()in_process, for synths and retro beeps.AudioEffectCaptureon a bus records or streams audio.AudioEffectSpectrumAnalyzer+get_magnitude_for_frequency_rangemakes visualizers.- Microphone:
AudioStreamMicrophoneneedsaudio/driver/enable_input = trueand OS permission on mobile.
Web and mobile
- Web: browsers block audio until the first user input, so start music after a click or tap. The default playback type can be set to Sample (
audio/general/default_playback_type, experimental) for lower latency on web. - Mobile: keep simultaneous voices low. Pause audio on
NOTIFICATION_APPLICATION_PAUSED.
Bus volume settings, SFX pool, adaptive music controller, procedural beep (compiled by the tests): references/patterns.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

