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
Game audio principles. Sound design, music integration, adaptive audio systems.
Covers: Game Audio Principles, Audio Category System, Category Definitions, Priority Hierarchy, Sound Design Decisions.
1---2name: game-audio3description: Game audio principles. Sound design, music integration, adaptive audio4 systems.5allowed-tools: Read, Glob, Grep6risk: safe7source: community8license: MIT9metadata:10 source: https://skillmd.com/skills/jantoniofc/game-audio11---1213# Game Audio Principles1415> Sound design and music integration for immersive game experiences.1617---1819## 1. Audio Category System2021### Category Definitions2223| Category | Behavior | Examples |24|----------|----------|----------|25| **Music** | Looping, crossfade, ducking | BGM, combat music |26| **SFX** | One-shot, 3D positioned | Footsteps, impacts |27| **Ambient** | Looping, background layer | Wind, crowd, forest |28| **UI** | Immediate, non-3D | Button clicks, notifications |29| **Voice** | Priority, ducking trigger | Dialogue, announcer |3031### Priority Hierarchy3233```34When sounds compete for channels:35361. Voice (highest - always audible)372. Player SFX (feedback critical)383. Enemy SFX (gameplay important)394. Music (mood, but duckable)405. Ambient (lowest - can drop)41```4243---4445## 2. Sound Design Decisions4647### SFX Creation Approach4849| Approach | When to Use | Trade-offs |50|----------|-------------|------------|51| **Recording** | Realistic needs | High quality, time intensive |52| **Synthesis** | Sci-fi, retro, UI | Unique, requires skill |53| **Library samples** | Fast production | Common sounds, licensing |54| **Layering** | Complex sounds | Best results, more work |5556### Layering Structure5758| Layer | Purpose | Example: Gunshot |59|-------|---------|------------------|60| **Attack** | Initial transient | Click, snap |61| **Body** | Main character | Boom, blast |62| **Tail** | Decay, room | Reverb, echo |63| **Sweetener** | Special sauce | Shell casing, mechanical |6465---6667## 3. Music Integration6869### Music State System7071```72Game State → Music Response73│74├── Menu → Calm, loopable theme75├── Exploration → Ambient, atmospheric76├── Combat detected → Transition to tension77├── Combat engaged → Full battle music78├── Victory → Stinger + calm transition79├── Defeat → Somber stinger80└── Boss → Unique, multi-phase track81```8283### Transition Techniques8485| Technique | Use When | Feel |86|-----------|----------|------|87| **Crossfade** | Smooth mood shift | Gradual |88| **Stinger** | Immediate event | Dramatic |89| **Stem mixing** | Dynamic intensity | Seamless |90| **Beat-synced** | Rhythmic gameplay | Musical |91| **Queue point** | Next natural break | Clean |9293---9495## 4. Adaptive Audio Decisions9697### Intensity Parameters9899| Parameter | Affects | Example |100|-----------|---------|---------|101| **Threat level** | Music intensity | Enemy count |102| **Health** | Filter, reverb | Low health = muffled |103| **Speed** | Tempo, energy | Racing speed |104| **Environment** | Reverb, EQ | Cave vs outdoor |105| **Time of day** | Mood, volume | Night = quieter |106107### Vertical vs Horizontal108109| System | What Changes | Best For |110|--------|--------------|----------|111| **Vertical (layers)** | Add/remove instrument layers | Intensity scaling |112| **Horizontal (segments)** | Different music sections | State changes |113| **Combined** | Both | AAA adaptive scores |114115---116117## 5. 3D Audio Decisions118119### Spatialization120121| Element | 3D Positioned? | Reason |122|---------|----------------|--------|123| Player footsteps | No (or subtle) | Always audible |124| Enemy footsteps | Yes | Directional awareness |125| Gunfire | Yes | Combat awareness |126| Music | No | Mood, non-diegetic |127| Ambient zone | Yes (area) | Environmental |128| UI sounds | No | Interface feedback |129130### Distance Behavior131132| Distance | Sound Behavior |133|----------|----------------|134| **Near** | Full volume, full frequency |135| **Medium** | Volume falloff, high-freq rolloff |136| **Far** | Low volume, low-pass filter |137| **Max** | Silent or ambient hint |138139---140141## 6. Platform Considerations142143### Format Selection144145| Platform | Recommended Format | Reason |146|----------|-------------------|--------|147| PC | OGG Vorbis, WAV | Quality, no licensing |148| Console | Platform-specific | Certification |149| Mobile | MP3, AAC | Size, compatibility |150| Web | WebM/Opus, MP3 fallback | Browser support |151152### Memory Budget153154| Game Type | Audio Budget | Strategy |155|-----------|--------------|----------|156| Mobile casual | 10-50 MB | Compressed, fewer variants |157| PC indie | 100-500 MB | Quality focus |158| AAA | 1+ GB | Full quality, many variants |159160---161162## 7. Mix Hierarchy163164### Volume Balance Reference165166| Category | Relative Level | Notes |167|----------|----------------|-------|168| **Voice** | 0 dB (reference) | Always clear |169| **Player SFX** | -3 to -6 dB | Prominent but not harsh |170| **Music** | -6 to -12 dB | Foundation, ducks for voice |171| **Enemy SFX** | -6 to -9 dB | Important but not dominant |172| **Ambient** | -12 to -18 dB | Subtle background |173174### Ducking Rules175176| When | Duck What | Amount |177|------|-----------|--------|178| Voice plays | Music, Ambient | -6 to -9 dB |179| Explosion | All except explosion | Brief duck |180| Menu open | Gameplay audio | -3 to -6 dB |181182---183184## 8. Anti-Patterns185186| Don't | Do |187|-------|-----|188| Play same sound repeatedly | Use variations (3-5 per sound) |189| Max volume everything | Use proper mix hierarchy |190| Ignore silence | Silence creates contrast |191| One music track loops forever | Provide variety, transitions |192| Skip audio in prototype | Placeholder audio matters |193194---195196> **Remember:** 50% of the game experience is audio. A muted game loses half its soul.197198## When to Use199200Game audio principles. Sound design, music integration, adaptive audio systems.201202Covers: Game Audio Principles, Audio Category System, Category Definitions, Priority Hierarchy, Sound Design Decisions.