Godot Audio
/godot-audio
Play and mix audio in Godot 4.7: AudioStreamPlayers, buses and effects, music and SFX routing, and beat-accurate timing.
- 许可证
- Apache-2.0
- 出品
- GameSkill 出品
所属合集
Awesome Gamedev Agent Skills
77 portable SKILL.md skills across 12 engines (Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE, Roblox, Defold, Ebitengine), with a router.
我们测过
在 Godot 4.7.2 上通过 26/26 项检查(2026-10-28):能触发、有可运行示例、有截图和自检清单、单一职责、中英文文档齐全。触发检查是把提示词和 skill 描述做匹配,不是真实 agent 运行。
测试报告这个 skill 做什么
什么时候触发
7: AudioStreamPlayer (2D/3D variants), audio buses with volume/mute and effects, music vs SFX routing, db/linear volume, and precise sync-to-beat playback timing. …
GameSkill 测过的版本
GameSkill 调优版:skill 文件取自提交 184b72be0288,按我们的 skill 流程加上可运行示例、测试报告、自检清单和中文指南。
协议:基于 gamedev-skills/awesome-gamedev-agent-skills(作者 gamedev-skills),协议 Apache-2.0。ZIP 保留协议文件(LICENSE, NOTICE),CHANGES.md 列出了 GameSkill 加的所有文件。

自检清单
- 音量用分贝,滑块先用 linear_to_db 转换并防止 0 变成 -inf / Volume is in dB: sliders go through linear_to_db, clamped so 0 is not -inf
- 每个播放器都挂在正确的总线上,总线名与音频面板一致 / Every player sits on the right bus, with names matching the Audio panel
- 需要重叠的短音效调高了 max_polyphony / Short SFX that overlap have max_polyphony raised
- 音乐开了循环 / Music has looping turned on
- 节拍同步读播放位置,加上距上次混音的时间,减去输出延迟 / Beat sync reads playback position plus time since last mix, minus output latency
中文指南
这个 skill 做什么
教 agent 用 Godot 4 的音频 API:一次性音效、总线音量和静音、两首音乐交叉淡入淡出、按输出延迟校准的节拍时间,以及 3D 音频的常见坑。
什么时候用
- 给 Godot 游戏加音效、音乐和音量设置
- 音量滑块不对劲、音效被截断、音乐不循环
- 需要让动作卡在音乐节拍上
怎么装
下载本页的 ZIP,把 godot-audio/ 整个文件夹放进 .claude/skills/(Claude Code)或 .agents/skills/(Codex、Cursor),重启 agent。
最小示例
gameskill/examples/ 是一个 Godot 4.7 工程:audio.gd 实现 skill 的 4 个模式,default_bus_layout.tres 带 Music、SFX、Voice 三条总线,测试音在代码里生成,不带音频文件。
我们怎么测的
在 Godot 4.7.2 无头模式下跑 14 项检查。Godot 的空音频驱动照样混音,所以可以用总线电平表实测:滑块 0 被限制在 -80 dB 而不是 -inf;滑块 0.5 实测音量降约 6 dB;静音的总线完全无声;拼错的总线名返回 -1;max_polyphony 默认是 1;循环音乐持续播放;校准后的播放时间在前进;交叉淡化结束后旧曲停止、新曲到 0 dB 并交换角色。结果在 gameskill/test-report.json。
搭配
audio-design:混音思路,比如闪避(ducking)和音效变化game-feel、GameSkill 的 hit-juice:音画同步的打击反馈save-systems:保存玩家的音量设置
安装
告诉你的 AI
Install the skill from https://gameskill.dev/skills/godot-audio/install.md
GameSkill 测过的版本
mkdir -p .claude/skills
curl -fsSL https://gameskill.dev/dl/skills/godot-audio.zip -o /tmp/gameskill-godot-audio.zip
unzip -oq /tmp/gameskill-godot-audio.zip -d .claude/skills
rm /tmp/gameskill-godot-audio.zip包含内容
- Worked steps: One-shot SFX; Set a bus's volume and mute via AudioServer; Crossfade between two music tracks; Beat-accurate timing
- A pitfalls section with the mistakes to avoid
- Bundled 1 reference doc the agent reads when needed
- Written for Godot 4.7
适合
- Playing sounds or music in a Godot project, routing AudioStreamPlayer nodes to buses, adjusting bus volume via AudioServer, or syncing gameplay to the beat
试试这条提示词
Route music and SFX to separate buses and crossfade between two music tracks.关于这个 Skill
Play and mix audio in Godot 4.7: AudioStreamPlayer (2D/3D variants), audio buses with volume/mute and effects, music vs SFX routing, db/linear volume, and precise sync-to-beat playback timing. Use when playing sounds or music in a Godot project, routing AudioStreamPlayer nodes to buses, adjusting bus volume via AudioServer, or syncing gameplay to the beat.
From the godot-audio SKILL.md in gamedev-skills/awesome-gamedev-agent-skills.
What's inside
- One-shot SFX (fire-and-forget)
- Set a bus's volume and mute via AudioServer
- Crossfade between two music tracks
- Beat-accurate timing (compensate for output latency)
环境要求
- Godot 4.7
常见问题
84 条商业免版税战斗与卡牌音效库(WAV + 三端控制器)
零版权隐患、零削波失真的 84 条 44.1kHz 16-bit 商业级 WAV 音频硬资产(覆盖刀剑斩击、金属弹反、暴击雷鸣、Boss 怒吼、抽牌/SSR 金卡爆发、篝火打铁与全套 UI),配套 Godot 4/Unity/Web 随机音高防听觉疲劳控制器与 84 键网页试听台。
- 6 大类 84 条母带级 44.1kHz 16-bit WAV 实文件(刀剑/弹反/Boss/卡牌/营地/UI,零削波)
- 附完整 Python DSP 合成源码,随时微调打击低频或一键生成无限变体,100% 商业免版税
基于 gamedev-skills/awesome-gamedev-agent-skills (作者 gamedev-skills,协议 Apache-2.0)。ZIP 里保留原作者的 LICENSE 和 NOTICE,ATTRIBUTION.md 和 CHANGES.md 写明来源提交和 GameSkill 加的内容。
搭配使用
作者标注的相关 Skills,或更适合相邻任务的 Skills。
Game Audio Design
Engine-neutral game audio: mixer buses and decibel gain, ducking, adaptive music through layering, SFX variation and beat sync.
Godot Animation
Animate in Godot 4.7 with AnimationPlayer clips, AnimationTree state machines and blend spaces, and code-driven Tweens.
Godot UI (Control Nodes)
Godot 4.7 interfaces with Control nodes: anchors, containers, themes and keyboard or gamepad focus navigation.
Awesome Gamedev Agent Skills 中的更多 Skills
查看全部 45 个2D Platformer
Build a 2D platformer: run/jump control with coyote time, jump buffering, and variable jump height, plus tiled levels and hazards.
Behavior Trees & Utility AI
Build a behavior-tree runtime and a Utility AI system with response curves, plus hybrid agents where the behavior tree drives utility scoring.
Bevy ECS
Structure a Bevy app around ECS: plugins, components and resources, systems with Query and Commands, system ordering and Time.
Card Game
Build a card game: card data, deck/hand/discard zones, draw/shuffle/reshuffle, a turn structure, costs, and effect resolution.
相似 skills
Team Audio (Claude Code Game Studios)
Orchestrate the audio team — audio-director, sound-designer, technical-artist, gameplay-programmer — direction through implementation.
Godogen
Autonomous game development with Claude Code and Codex. Publishes a ready game repo for Godot, Bevy, Babylon.js or three.js.
3AGameFactory (GameFactory-3A)
An Apache-2.0 framework of agent skills and pipelines that turns a game requirement into assets (image, 3D, motion, audio, CG video) and engine-ready code for UE5, Blender, Unity, Godot 4 and three.js.
OrcDev Point-and-Click Adventure Skills
Ten agent skills and a template for making a fully voiced point-and-click adventure in Godot, pulled out of the production of OrcDev's game Past. No license is published, so see the repository for use.