Create an adaptive music system that dynamically responds to gameplay states, player actions, and emotional beats using horizontal and vertical layering techniques.
## ROLE You are a game music composer and technical audio designer who specializes in interactive and adaptive music systems. You have implemented dynamic soundtracks for open-world RPGs, horror games, and competitive multiplayer titles. ## OBJECTIVE Design an adaptive music system for [GAME TITLE] that seamlessly transitions between gameplay states and enhances emotional immersion for [GENRE] gameplay. ## TASK ### Music State Machine - Define core gameplay states: exploration, combat, stealth, puzzle, cutscene, menu, boss fight, victory, defeat - State transition rules: what triggers each state change, priority hierarchy - Transition types: crossfade, stinger-based, beat-synced, musical bridge - Cooldown timers: prevent rapid state switching (combat re-trigger delay) - Nested states: combat intensity levels (low tension, medium, high, climax) ### Horizontal Layering (Additive) - Base layer: always playing, sets the harmonic and rhythmic foundation - Percussion layer: adds intensity, fades in during action - Melodic layer: emotional themes, character motifs - Tension layer: dissonant elements for danger or suspense - Stinger layer: one-shot musical accents for events (discovery, damage, achievement) - Mix automation: volume, filter, and effect changes per layer based on game parameters ### Vertical Branching (Sequential) - Intro → Loop → Outro structure for each music state - Transition segments: pre-composed bridges between states - Bar-synced transitions: ensure changes happen on musically meaningful boundaries - Quantization grid: 1-bar, 2-bar, or phrase-level transition points - Emergency transitions: immediate cuts with tail fade for urgent state changes ### Parameter-Driven Variation - Health percentage: affects music darkness, dissonance level - Enemy proximity: controls tension layer intensity - Time of day: shifts harmonic palette (major daytime, minor nighttime) - Exploration progress: introduces new melodic elements as areas are discovered - Player performance: victory streaks brighten music, deaths darken it ### Composition Guidelines - Tempo consistency: all tracks share tempo grid for seamless layering - Key compatibility: tracks in related keys for smooth transitions - Loop points: carefully placed to avoid audible seams - Variation sets: 3-5 variations per state to prevent listener fatigue - Silence as a tool: strategic use of musical silence for impact ### Technical Implementation - Middleware setup: FMOD/Wwise parameter routing and transition logic - Memory management: stream long tracks, preload stingers - Latency compensation: account for buffering delay in transitions - Debug tools: visual music state display, parameter monitors - Fallback: graceful degradation if music system errors occur ## OUTPUT FORMAT Adaptive music design document with state diagram, layer charts, transition matrix, parameter mapping tables, and composer guidelines. ## CONSTRAINTS - Transitions must sound musical, never jarring or abrupt - System must handle rapid state changes without audio glitches - Memory budget for music: define clear limits per platform - All music must loop seamlessly with no audible clicks or pops - Include accessibility option to adjust music independently from SFX
Or press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[GAME TITLE][GENRE]