Adaptive Dynamic Music Controller

AdaptiveMusicLayerMixer allows you to add dynamic adaptive music to your game with minimal setup.


A base loop plays continuously while additional music layers fade in and out based on gameplay events (combat, boss fights, player movement, victory states, etc).


The system is intentionally lightweight and fully code-driven, providing a simple plug-and-play solution without requiring complex audio middleware.

Includes a functional demo scene and example UI to preview layer transitions.

Note: The EventSystem prefab is not included to ensure compatibility across Unity versions. Simply add your own EventSystem in your scene (Unity auto-generates this when adding UI elements).

Music Stems:

  • Includes sample stems in both .ogg and .wav format for testing/demo purposes.
  • You may fully replace these stems with your own music as desired.

Compatible with Unity 2022.3 LTS and Unity 6000.x (see Tech Details below).


ChatGPT was utilized in the creation of this project.