skillZsskillZsskillZs
HAND-TAGGED >>> 991 SKILLS LIVE <<<* OPEN SOURCE *NO LOGIN, NO TRACKING FRESH DROPS WEEKLY HAND-TAGGED >>> 991 SKILLS LIVE <<<* OPEN SOURCE *NO LOGIN, NO TRACKING FRESH DROPS WEEKLY HAND-TAGGED >>> 991 SKILLS LIVE <<<* OPEN SOURCE *NO LOGIN, NO TRACKING FRESH DROPS WEEKLY HAND-TAGGED >>> 991 SKILLS LIVE <<<* OPEN SOURCE *NO LOGIN, NO TRACKING FRESH DROPS WEEKLY HAND-TAGGED >>> 991 SKILLS LIVE <<<* OPEN SOURCE *NO LOGIN, NO TRACKING FRESH DROPS WEEKLY HAND-TAGGED >>> 991 SKILLS LIVE <<<* OPEN SOURCE *NO LOGIN, NO TRACKING FRESH DROPS WEEKLY
← back to zine
game-audioSKILL #UDIO
Creative

game-audio

Game audio principles. Sound design, music integration, adaptive audio systems.

↗ github · ★ 27k·src: davila7/claude-code-templates

the manual

Game Audio Principles

Sound design and music integration for immersive game experiences.


1. Audio Category System

Category Definitions

CategoryBehaviorExamples
MusicLooping, crossfade, duckingBGM, combat music
SFXOne-shot, 3D positionedFootsteps, impacts
AmbientLooping, background layerWind, crowd, forest
UIImmediate, non-3DButton clicks, notifications
VoicePriority, ducking triggerDialogue, 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

ApproachWhen to UseTrade-offs
RecordingRealistic needsHigh quality, time intensive
SynthesisSci-fi, retro, UIUnique, requires skill
Library samplesFast productionCommon sounds, licensing
LayeringComplex soundsBest results, more work

Layering Structure

LayerPurposeExample: Gunshot
AttackInitial transientClick, snap
BodyMain characterBoom, blast
TailDecay, roomReverb, echo
SweetenerSpecial sauceShell 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

TechniqueUse WhenFeel
CrossfadeSmooth mood shiftGradual
StingerImmediate eventDramatic
Stem mixingDynamic intensitySeamless
Beat-syncedRhythmic gameplayMusical
Queue pointNext natural breakClean

4. Adaptive Audio Decisions

Intensity Parameters

ParameterAffectsExample
Threat levelMusic intensityEnemy count
HealthFilter, reverbLow health = muffled
SpeedTempo, energyRacing speed
EnvironmentReverb, EQCave vs outdoor
Time of dayMood, volumeNight = quieter

Vertical vs Horizontal

SystemWhat ChangesBest For
Vertical (layers)Add/remove instrument layersIntensity scaling
Horizontal (segments)Different music sectionsState changes
CombinedBothAAA adaptive scores

5. 3D Audio Decisions

Spatialization

Element3D Positioned?Reason
Player footstepsNo (or subtle)Always audible
Enemy footstepsYesDirectional awareness
GunfireYesCombat awareness
MusicNoMood, non-diegetic
Ambient zoneYes (area)Environmental
UI soundsNoInterface feedback

Distance Behavior

DistanceSound Behavior
NearFull volume, full frequency
MediumVolume falloff, high-freq rolloff
FarLow volume, low-pass filter
MaxSilent or ambient hint

6. Platform Considerations

Format Selection

PlatformRecommended FormatReason
PCOGG Vorbis, WAVQuality, no licensing
ConsolePlatform-specificCertification
MobileMP3, AACSize, compatibility
WebWebM/Opus, MP3 fallbackBrowser support

Memory Budget

Game TypeAudio BudgetStrategy
Mobile casual10-50 MBCompressed, fewer variants
PC indie100-500 MBQuality focus
AAA1+ GBFull quality, many variants

7. Mix Hierarchy

Volume Balance Reference

CategoryRelative LevelNotes
Voice0 dB (reference)Always clear
Player SFX-3 to -6 dBProminent but not harsh
Music-6 to -12 dBFoundation, ducks for voice
Enemy SFX-6 to -9 dBImportant but not dominant
Ambient-12 to -18 dBSubtle background

Ducking Rules

WhenDuck WhatAmount
Voice playsMusic, Ambient-6 to -9 dB
ExplosionAll except explosionBrief duck
Menu openGameplay audio-3 to -6 dB

8. Anti-Patterns

Don'tDo
Play same sound repeatedlyUse variations (3-5 per sound)
Max volume everythingUse proper mix hierarchy
Ignore silenceSilence creates contrast
One music track loops foreverProvide variety, transitions
Skip audio in prototypePlaceholder audio matters

Remember: 50% of the game experience is audio. A muted game loses half its soul.

more creative

Boost your writing skills for clarity
Creative
NEWHOT
Boost your writing skills for clarity
writing-skills
0@ 0 181k
Create clear implementation plans fast
Creative
NEWHOT
Create clear implementation plans fast
writing-plans
0@ 0 181k
Transform ideas into actionable designs
Creative
NEWHOT
Transform ideas into actionable designs
brainstorming
0@ 0 181k
Style your artifacts in seconds
Creative
NEWHOT
Style your artifacts in seconds
theme-factory
0@ 0 129k
Transform your visuals with brand style
Creative
NEWHOT
Transform your visuals with brand style
brand-guidelines
0@ 0 129k
Build complex web artifacts fast
Creative
NEWHOT
Build complex web artifacts fast
web-artifacts-builder
0@ 0 129k
Create stunning designs in seconds
Creative
NEWHOT
Create stunning designs in seconds
canvas-design
0@ 0 129k
Streamline your document co-authoring process
Creative
NEWHOT
Streamline your document co-authoring process
doc-coauthoring
0@ 0 129k