game-audio
它能做什么
这个工具可以帮你了解如何为游戏制作音效和音乐。它会讲解不同的声音类型、如何把它们组合在一起,以及如何让声音对游戏中的事件做出反应。
适用场景
- ✓为新游戏制作声音时。
- ✓想改进现有游戏的声音效果时。
- ✓学习游戏声音设计时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/game-development/game-audio/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“在一款动作游戏中,我应该如何组织音乐和音效?”
每周 5 个新技能,1 分钟读完。
工作原理
它会把声音分类(音乐、音效、环境音等),并确定它们的优先级。它还会建议如何通过叠加多个部分来构建复杂的声音,以及音乐应如何随着游戏动作而变化。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Game Audio Principles
Sound design and music integration for immersive game experiences.
1. Audio Category System
Category Definitions
| Category | Behavior | Examples |
|---|---|---|
| Music | Looping, crossfade, ducking | BGM, combat music |
| SFX | One-shot, 3D positioned | Footsteps, impacts |
| Ambient | Looping, background layer | Wind, crowd, forest |
| UI | Immediate, non-3D | Button clicks, notifications |
| Voice | Priority, ducking trigger | Dialogue, announcer |
Priority Hierarchy
When sounds compete for channels:
1. Voice (highest - always audible)
2. Player SFX (feedback critical)
3. Enemy SFX (gameplay important)
4. Music (mood, but duckable)
5. Ambient (lowest - can drop)
2. Sound Design Decisions
SFX Creation Approach
| Approach | When to Use | Trade-offs |
|---|---|---|
| Recording | Realistic needs | High quality, time intensive |
| Synthesis | Sci-fi, retro, UI | Unique, requires skill |
| Library samples | Fast production | Common sounds, licensing |
| Layering | Complex sounds | Best results, more work |
Layering Structure
| Layer | Purpose | Example: Gunshot |
|---|---|---|
| Attack | Initial transient | Click, snap |
| Body | Main character | Boom, blast |
| Tail | Decay, room | Reverb, echo |
| Sweetener | Special sauce | Shell casing, mechanical |
3. Music Integration
Music State System
Game State → Music Response
│
├── Menu → Calm, loopable theme
├── Exploration → Ambient, atmospheric
├── Combat detected → Transition to tension
├── Combat engaged → Full battle music
├── Victory → Stinger + calm transition
├── Defeat → Somber stinger
└── Boss → Unique, multi-phase track
Transition Techniques
| Technique | Use When | Feel |
|---|---|---|
| Crossfade | Smooth mood shift | Gradual |
| Stinger | Immediate event | Dramatic |
| Stem mixing | Dynamic intensity | Seamless |
| Beat-synced | Rhythmic gameplay | Musical |
| Queue point | Next natural break | Clean |
4. Adaptive Audio Decisions
Intensity Parameters
| Parameter | Affects | Example |
|---|---|---|
| Threat level | Music intensity | Enemy count |
| Health | Filter, reverb | Low health = muffled |
| Speed | Tempo, energy | Racing speed |
| Environment | Reverb, EQ | Cave vs outdoor |
| Time of day | Mood, volume | Night = quieter |
Vertical vs Horizontal
| System | What Changes | Best For |
|---|---|---|
| Vertical (layers) | Add/remove instrument layers | Intensity scaling |
| Horizontal (segments) | Different music sections | State changes |
| Combined | Both | AAA adaptive scores |
5. 3D Audio Decisions
Spatialization
| Element | 3D Positioned? | Reason |
|---|---|---|
| Player footsteps | No (or subtle) | Always audible |
| Enemy footsteps | Yes | Directional awareness |
| Gunfire | Yes | Combat awareness |
| Music | No | Mood, non-diegetic |
| Ambient zone | Yes (area) | Environmental |
| UI sounds | No | Interface feedback |
Distance Behavior
| Distance | Sound Behavior |
|---|---|
| Near | Full volume, full frequency |
| Medium | Volume falloff, high-freq rolloff |
| Far | Low volume, low-pass filter |
| Max | Silent or ambient hint |
6. Platform Considerations
Format Selection
| Platform | Recommended Format | Reason |
|---|---|---|
| PC | OGG Vorbis, WAV | Quality, no licensing |
| Console | Platform-specific | Certification |
| Mobile | MP3, AAC | Size, compatibility |
| Web | WebM/Opus, MP3 fallback | Browser support |
Memory Budget
| Game Type | Audio Budget | Strategy |
|---|---|---|
| Mobile casual | 10-50 MB | Compressed, fewer variants |
| PC indie | 100-500 MB | Quality focus |
| AAA | 1+ GB | Full quality, many variants |
7. Mix Hierarchy
Volume Balance Reference
| Category | Relative Level | Notes |
|---|---|---|
| Voice | 0 dB (reference) | Always clear |
| Player SFX | -3 to -6 dB | Prominent but not harsh |
| Music | -6 to -12 dB | Foundation, ducks for voice |
| Enemy SFX | -6 to -9 dB | Important but not dominant |
| Ambient | -12 to -18 dB | Subtle background |
…
常见问题
为什么语音比音乐更重要?
语音(对话、旁白)对理解剧情和指引非常关键,因此即使需要降低音乐音量,也必须保证语音清晰可闻。
什么是“闪避”(ducking)?
“闪避”是指当一个更重要的声音(比如对话)出现时,另一个声音(比如背景音乐)会自动降低音量,为它让出空间。
为什么要使用同一声音的多个变体?
变体(相似但不完全相同的声音)能让游戏听起来更自然、不那么单调,避免玩家因为反复听到同一个声音而感到厌烦。
详情
作者的原始描述
Game audio principles. Sound design, music integration, adaptive audio systems.
热度
- GitHub 星标
- 48k
- 排名
- #4686
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。