BroAudio
Quick StartScripting APIAsset Store
  • Overview
    • Introduction
    • Getting Started
    • Compatibility
  • Core Features
    • Library Manager
      • Create The Library
      • Design The Sound
        • 🔊Volume
        • 🎚️Fading
        • 🔁Looping
        • 🎲Randomization
        • 💪Velocity
        • 🎛️Spatial & Mix
    • Audio Player
      • Music Player
      • Dominator Player
    • Playback Group
    • Audio Effect
    • No-Code Components
      • Sound Source
      • Sound Volume
      • Spectrum Analyzer
    • Addressables
    • Customization
  • Designs
    • Audio Mixer
  • Tools
    • Audio Clip Editor
    • Audio Effect Editor
    • Useful Attrubutes
  • Reference
    • Scripting API
      • Class
        • BroAudio
        • SoundSource
        • BroAdvice
      • Interface
        • IAudioPlayer
        • IMusicPlayer
        • IPlayerEffect
        • IAutoResetWaitable
        • IAudioSourceProxy
      • Struct
        • SoundID
        • Effect
        • Fading
      • Enums
        • BroAudioType
        • EffectType
        • StopMode
        • Transition
        • Ease
    • Unity API Integration
    • Audio Terminology
    • Technical Details
  • Others
    • Release Notes
    • Known Issues
      • Duplicate SoundID Issue
    • Roadmap
    • Support & Contact
Powered by GitBook
On this page
  • Introduction
  • The Mixer Design
  • Virtual Tracks
  • Customizing The BroAudioMixer
  • Matching the 'Max Real Voices'
  • There are bugs in Unity Audio Mixer (But don't worry about them!)
  • Error finding Parameter path message in Exposed Parameters
  • Send level beyond 0dB makes Audio Mixer slider disappear at runtime
  • Audio Reverb Zone issue in Unity 2021
  1. Designs

Audio Mixer

Last updated 6 days ago

Introduction

BroAudio uses a custom with 32 tracks (matching Unity's default ), plus 4 , 4 tracks, 1 effect track. This design offers great flexibility in controlling sounds and can prevent many common issues (e.g. ).

The BroAudioMixer is a fully pre-built asset that requires no additional configuration. This chapter is specifically intended for individuals who:

  • Need to customize the mixer.

  • Are eager to understand all the details.

The Mixer Design

To guarantee that all can utilize features and be managed by BroAudio. the mixer includes 32 pre-built generic tracks. This number corresponds to Unity's default setting for , and it should be readjusted if this setting is altered ().

Virtual Tracks

Just as the 32 tracks are designated for 'Real' voices, 'Virtual' voices also require tracks to utilize features and be managed effectively. Although they are inaudible initially, they can become audible when a 'Real' voice ceases. To ensure continuity in their current processing or settings, maintaining a number of virtual tracks as a backup is essential.

Customizing The BroAudioMixer

To customize the BroAudioMixer, you need to pay attention to the following few things:

Matching the 'Max Real Voices'

If you've changed the Max Real Voices in to a value that is greater than 32, or you've deleted some tracks. Locate Tools > BroAudio > Preferences, and you should see a warning that indicates the unmatching voice count issue, and a button appears below, which could help you to match them (increase the track count) automatically, Just hit it!

There are bugs in Unity Audio Mixer (But don't worry about them!)

Yes, there are bugs in Unity which bro has already handled for you! You only need to be aware of the following things when you need further customization of BroAudioMixer; otherwise, it's not necessary.

Error finding Parameter path message in Exposed Parameters

The bug causes the "Send" units to be unable to expose more than one Exposed Parameter, as they can only share the same instance and parameter. However, BroAudio requires these "Send" units to have their independent parameter.

BroAudio has corrected this by assigning unique parameter paths to each unit. However, due to the persistence of the bug, the system may "incorrectly" flag these paths as erroneous. Fortunately, despite the error message, the functionality remains intact during runtime.

Although this issue has been resolved in newer versions of Unity, it can still be reproduced if we build the Audio Mixer in a fixed version of Unity and then import it into an older version. Since the BroAudioMixer is a pre-built asset that must ensure compatibility across versions, this workaround is still in use.

Send level beyond 0dB makes Audio Mixer slider disappear at runtime

If you see the send level's editor slider is gone, then again, rest assured that their functions are still working properly!

Audio Reverb Zone issue in Unity 2021

This could only be a concern for individuals who:

  • Is using Unity 2021.

The issue will cause the AudioReverbZone not to work, and it only occurs in Unity 2021. The problem is related to the 'Send' and 'Receive' units in the AudioMixer, and it can be reproduced in more ways than those listed on the issue tracker page.

This message will be displayed on the Exposed Parameters of all "" units, and this is the result produced by BroAudio after fixing this .

This may not be a bug, but it has the potential to cause confusion. The problem is the "" unit in Audio Mixer can only accept send level from -80 to 0dB, but it's actually capable of handling values up to +20dB, like the "Attenuation" unit's volume.

Update: This issue has been solved in ver. 1.01. The bug still exists, but Bro has redesigned the mixer to prevent it from happening. There is a bug that I encountered while developing BroAudio, which has been officially confirmed by Unity () after a bug report.

Need to use .

Send
Unity bug
Send
Issue Tracker
AudioReverbZone
Error finding Parameter path message in Exposed Parameters
Send level beyond 0dB makes Audio Mixer slider disappear at runtime
Audio Mixer
dominator
Max Real Voices
Project Settings
virtual tracks
Bro can rematch them automatically
Page cover image
Max Real Voices
clipping
voices
Don't worry about these error messages