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 Rules
| When |
Duck What |
Amount |
| Voice plays |
Music, Ambient |
-6 to -9 dB |
| Explosion |
All except explosion |
Brief duck |
| Menu open |
Gameplay audio |
-3 to -6 dB |
8. Anti-Patterns
| Don't |
Do |
| Play same sound repeatedly |
Use variations (3-5 per sound) |
| Max volume everything |
Use proper mix hierarchy |
| Ignore silence |
Silence creates contrast |
| One music track loops forever |
Provide variety, transitions |
| Skip audio in prototype |
Placeholder audio matters |
Remember: 50% of the game experience is audio. A muted game loses half its soul.
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
1---2name: game-audio3description: "Game audio principles. Sound design, music integration, adaptive audio systems."4allowed-tools: Read, Glob, Grep5risk: unknown6source: community7---89# Game Audio Principles1011> Sound design and music integration for immersive game experiences.1213---1415## 1. Audio Category System1617### Category Definitions1819| Category | Behavior | Examples |20|----------|----------|----------|21| **Music** | Looping, crossfade, ducking | BGM, combat music |22| **SFX** | One-shot, 3D positioned | Footsteps, impacts |23| **Ambient** | Looping, background layer | Wind, crowd, forest |24| **UI** | Immediate, non-3D | Button clicks, notifications |25| **Voice** | Priority, ducking trigger | Dialogue, announcer |2627### Priority Hierarchy2829```30When sounds compete for channels:31321. Voice (highest - always audible)332. Player SFX (feedback critical)343. Enemy SFX (gameplay important)354. Music (mood, but duckable)365. Ambient (lowest - can drop)37```3839---4041## 2. Sound Design Decisions4243### SFX Creation Approach4445| Approach | When to Use | Trade-offs |46|----------|-------------|------------|47| **Recording** | Realistic needs | High quality, time intensive |48| **Synthesis** | Sci-fi, retro, UI | Unique, requires skill |49| **Library samples** | Fast production | Common sounds, licensing |50| **Layering** | Complex sounds | Best results, more work |5152### Layering Structure5354| Layer | Purpose | Example: Gunshot |55|-------|---------|------------------|56| **Attack** | Initial transient | Click, snap |57| **Body** | Main character | Boom, blast |58| **Tail** | Decay, room | Reverb, echo |59| **Sweetener** | Special sauce | Shell casing, mechanical |6061---6263## 3. Music Integration6465### Music State System6667```68Game State → Music Response69│70├── Menu → Calm, loopable theme71├── Exploration → Ambient, atmospheric72├── Combat detected → Transition to tension73├── Combat engaged → Full battle music74├── Victory → Stinger + calm transition75├── Defeat → Somber stinger76└── Boss → Unique, multi-phase track77```7879### Transition Techniques8081| Technique | Use When | Feel |82|-----------|----------|------|83| **Crossfade** | Smooth mood shift | Gradual |84| **Stinger** | Immediate event | Dramatic |85| **Stem mixing** | Dynamic intensity | Seamless |86| **Beat-synced** | Rhythmic gameplay | Musical |87| **Queue point** | Next natural break | Clean |8889---9091## 4. Adaptive Audio Decisions9293### Intensity Parameters9495| Parameter | Affects | Example |96|-----------|---------|---------|97| **Threat level** | Music intensity | Enemy count |98| **Health** | Filter, reverb | Low health = muffled |99| **Speed** | Tempo, energy | Racing speed |100| **Environment** | Reverb, EQ | Cave vs outdoor |101| **Time of day** | Mood, volume | Night = quieter |102103### Vertical vs Horizontal104105| System | What Changes | Best For |106|--------|--------------|----------|107| **Vertical (layers)** | Add/remove instrument layers | Intensity scaling |108| **Horizontal (segments)** | Different music sections | State changes |109| **Combined** | Both | AAA adaptive scores |110111---112113## 5. 3D Audio Decisions114115### Spatialization116117| Element | 3D Positioned? | Reason |118|---------|----------------|--------|119| Player footsteps | No (or subtle) | Always audible |120| Enemy footsteps | Yes | Directional awareness |121| Gunfire | Yes | Combat awareness |122| Music | No | Mood, non-diegetic |123| Ambient zone | Yes (area) | Environmental |124| UI sounds | No | Interface feedback |125126### Distance Behavior127128| Distance | Sound Behavior |129|----------|----------------|130| **Near** | Full volume, full frequency |131| **Medium** | Volume falloff, high-freq rolloff |132| **Far** | Low volume, low-pass filter |133| **Max** | Silent or ambient hint |134135---136137## 6. Platform Considerations138139### Format Selection140141| Platform | Recommended Format | Reason |142|----------|-------------------|--------|143| PC | OGG Vorbis, WAV | Quality, no licensing |144| Console | Platform-specific | Certification |145| Mobile | MP3, AAC | Size, compatibility |146| Web | WebM/Opus, MP3 fallback | Browser support |147148### Memory Budget149150| Game Type | Audio Budget | Strategy |151|-----------|--------------|----------|152| Mobile casual | 10-50 MB | Compressed, fewer variants |153| PC indie | 100-500 MB | Quality focus |154| AAA | 1+ GB | Full quality, many variants |155156---157158## 7. Mix Hierarchy159160### Volume Balance Reference161162| Category | Relative Level | Notes |163|----------|----------------|-------|164| **Voice** | 0 dB (reference) | Always clear |165| **Player SFX** | -3 to -6 dB | Prominent but not harsh |166| **Music** | -6 to -12 dB | Foundation, ducks for voice |167| **Enemy SFX** | -6 to -9 dB | Important but not dominant |168| **Ambient** | -12 to -18 dB | Subtle background |169170### Ducking Rules171172| When | Duck What | Amount |173|------|-----------|--------|174| Voice plays | Music, Ambient | -6 to -9 dB |175| Explosion | All except explosion | Brief duck |176| Menu open | Gameplay audio | -3 to -6 dB |177178---179180## 8. Anti-Patterns181182| Don't | Do |183|-------|-----|184| Play same sound repeatedly | Use variations (3-5 per sound) |185| Max volume everything | Use proper mix hierarchy |186| Ignore silence | Silence creates contrast |187| One music track loops forever | Provide variety, transitions |188| Skip audio in prototype | Placeholder audio matters |189190---191192> **Remember:** 50% of the game experience is audio. A muted game loses half its soul.193194## When to Use195This skill is applicable to execute the workflow or actions described in the overview.