dynamic-audio-mixers

Manage Unity AudioMixer groups, snapshots, and ducking at runtime.

71|11|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/nlelouche/Unity-SkillForge --skill dynamic-audio-mixers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dynamic-audio-mixers
Source: https://github.com/nlelouche/Unity-SkillForge/tree/main/.agent/skills/04-visuals-audio/dynamic-audio-mixers
Command: npx skills add https://github.com/nlelouche/Unity-SkillForge --skill dynamic-audio-mixers

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and templates (resource) components.

What problem does it solve?

This Skill provides advanced control over Unity's AudioMixer, enabling dynamic adjustments to audio effects, snapshots, and volume ducking for immersive sound experiences.

Core Features & Use Cases

  • Dynamic Audio Control: Runtime manipulation of mixer groups, exposed parameters, and snapshots.
  • Audio Ducking: Automatically lower music or ambient sounds when dialogue plays.
  • Contextual Snapshots: Apply specific audio profiles for different game states (e.g., underwater, combat, pause menu).
  • Use Case: Implement a "dialogue ducking" system where the background music volume is automatically reduced when a character starts speaking, and smoothly returns to normal afterward.

Quick Start

Use the dynamic-audio-mixers skill to transition to the 'Pause' snapshot with a 0.5 second transition time.

Frequently Asked Questions about dynamic-audio-mixers

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up dialogue ducking in Unity to lower background music when characters speak?

Dialogue ducking in Unity automatically lowers background music or ambient sounds when dialogue plays. You can configure mixer groups with exposed parameters to smoothly reduce music volume during speech and return it to normal afterward.

How do I transition between AudioMixer snapshots for different game states like pause or underwater?

Transitioning between AudioMixer snapshots applies specific audio profiles for different game states. You can trigger transitions to contextual snapshots, such as a pause menu or underwater effect, with custom transition times like 0.5 seconds.

Can I adjust AudioMixer exposed parameters at runtime without triggering garbage collection?

Runtime manipulation of AudioMixer exposed parameters is supported with zero garbage collection allocation in hot paths. This allows dynamic audio control and volume adjustments during gameplay without impacting performance.

Does this dynamic AudioMixer approach require a specific Unity version?

Dynamic AudioMixer control requires Unity 6 or higher. It is designed for advanced sound design, supporting runtime mixer group management, preset audio states, and environmental audio effects within that environment.

What is the best way to manage environmental audio effects and volume presets in Unity?

Managing environmental audio effects in Unity is best handled through AudioMixer snapshots and exposed parameters. This approach facilitates runtime control of mixer groups, allowing smooth transitions between preset audio states for various environments.