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.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
1---2name: game-development-game-audio3description: Game audio principles. Sound design, music integration, adaptive audio systems.4---5# Game Audio Principles67> Sound design and music integration for immersive game experiences.89---1011## 1. Audio Category System1213### Category Definitions1415| Category | Behavior | Examples |16|----------|----------|----------|17| **Music** | Looping, crossfade, ducking | BGM, combat music |18| **SFX** | One-shot, 3D positioned | Footsteps, impacts |19| **Ambient** | Looping, background layer | Wind, crowd, forest |20| **UI** | Immediate, non-3D | Button clicks, notifications |21| **Voice** | Priority, ducking trigger | Dialogue, announcer |2223### Priority Hierarchy2425```26When sounds compete for channels:27281. Voice (highest - always audible)292. Player SFX (feedback critical)303. Enemy SFX (gameplay important)314. Music (mood, but duckable)325. Ambient (lowest - can drop)33```3435---3637## 2. Sound Design Decisions3839### SFX Creation Approach4041| Approach | When to Use | Trade-offs |42|----------|-------------|------------|43| **Recording** | Realistic needs | High quality, time intensive |44| **Synthesis** | Sci-fi, retro, UI | Unique, requires skill |45| **Library samples** | Fast production | Common sounds, licensing |46| **Layering** | Complex sounds | Best results, more work |4748### Layering Structure4950| Layer | Purpose | Example: Gunshot |51|-------|---------|------------------|52| **Attack** | Initial transient | Click, snap |53| **Body** | Main character | Boom, blast |54| **Tail** | Decay, room | Reverb, echo |55| **Sweetener** | Special sauce | Shell casing, mechanical |5657---5859## 3. Music Integration6061### Music State System6263```64Game State → Music Response65│66├── Menu → Calm, loopable theme67├── Exploration → Ambient, atmospheric68├── Combat detected → Transition to tension69├── Combat engaged → Full battle music70├── Victory → Stinger + calm transition71├── Defeat → Somber stinger72└── Boss → Unique, multi-phase track73```7475### Transition Techniques7677| Technique | Use When | Feel |78|-----------|----------|------|79| **Crossfade** | Smooth mood shift | Gradual |80| **Stinger** | Immediate event | Dramatic |81| **Stem mixing** | Dynamic intensity | Seamless |82| **Beat-synced** | Rhythmic gameplay | Musical |83| **Queue point** | Next natural break | Clean |8485---8687## 4. Adaptive Audio Decisions8889### Intensity Parameters9091| Parameter | Affects | Example |92|-----------|---------|---------|93| **Threat level** | Music intensity | Enemy count |94| **Health** | Filter, reverb | Low health = muffled |95| **Speed** | Tempo, energy | Racing speed |96| **Environment** | Reverb, EQ | Cave vs outdoor |97| **Time of day** | Mood, volume | Night = quieter |9899### Vertical vs Horizontal100101| System | What Changes | Best For |102|--------|--------------|----------|103| **Vertical (layers)** | Add/remove instrument layers | Intensity scaling |104| **Horizontal (segments)** | Different music sections | State changes |105| **Combined** | Both | AAA adaptive scores |106107---108109## 5. 3D Audio Decisions110111### Spatialization112113| Element | 3D Positioned? | Reason |114|---------|----------------|--------|115| Player footsteps | No (or subtle) | Always audible |116| Enemy footsteps | Yes | Directional awareness |117| Gunfire | Yes | Combat awareness |118| Music | No | Mood, non-diegetic |119| Ambient zone | Yes (area) | Environmental |120| UI sounds | No | Interface feedback |121122### Distance Behavior123124| Distance | Sound Behavior |125|----------|----------------|126| **Near** | Full volume, full frequency |127| **Medium** | Volume falloff, high-freq rolloff |128| **Far** | Low volume, low-pass filter |129| **Max** | Silent or ambient hint |130131---132133## 6. Platform Considerations134135### Format Selection136137| Platform | Recommended Format | Reason |138|----------|-------------------|--------|139| PC | OGG Vorbis, WAV | Quality, no licensing |140| Console | Platform-specific | Certification |141| Mobile | MP3, AAC | Size, compatibility |142| Web | WebM/Opus, MP3 fallback | Browser support |143144### Memory Budget145146| Game Type | Audio Budget | Strategy |147|-----------|--------------|----------|148| Mobile casual | 10-50 MB | Compressed, fewer variants |149| PC indie | 100-500 MB | Quality focus |150| AAA | 1+ GB | Full quality, many variants |151152---153154## 7. Mix Hierarchy155156### Volume Balance Reference157158| Category | Relative Level | Notes |159|----------|----------------|-------|160| **Voice** | 0 dB (reference) | Always clear |161| **Player SFX** | -3 to -6 dB | Prominent but not harsh |162| **Music** | -6 to -12 dB | Foundation, ducks for voice |163| **Enemy SFX** | -6 to -9 dB | Important but not dominant |164| **Ambient** | -12 to -18 dB | Subtle background |165166### Ducking Rules167168| When | Duck What | Amount |169|------|-----------|--------|170| Voice plays | Music, Ambient | -6 to -9 dB |171| Explosion | All except explosion | Brief duck |172| Menu open | Gameplay audio | -3 to -6 dB |173174---175176## 8. Anti-Patterns177178| Don't | Do |179|-------|-----|180| Play same sound repeatedly | Use variations (3-5 per sound) |181| Max volume everything | Use proper mix hierarchy |182| Ignore silence | Silence creates contrast |183| One music track loops forever | Provide variety, transitions |184| Skip audio in prototype | Placeholder audio matters |185186---187188> **Remember:** 50% of the game experience is audio. A muted game loses half its soul.189190## When to Use191This skill is applicable to execute the workflow or actions described in the overview.192193## Limitations194- Use this skill only when the task clearly matches the scope described above.195- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.196- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.