The Mixers panel displays a complete list of all AudioMixers in the project. Select the AudioMixers in the Mixers panel to quickly switch between them. You can also route one AudioMixer into the AudioGroup of another AudioMixer from this panel.
Select + in the top right of the panel to create a new AudioMixer in the project.
Unity supports the use of multiple AudioMixers within a sceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary at once. By default, each AudioMixer outputs the audio signal directly to the AudioListener.
You can choose to route the audio output of an AudioMixer into an AudioGroup of another AudioMixer. This allows for flexible and dynamic routing hierarchies at game runtime.
You can route an AudioMixer into another AudioGroup through either of the following methods:
To change the output of an AudioMixer within the Editor:
The Hierarchy view is where you define the sound categories of an AudioMixer and the mixing structure. You can define your own custom categories that AudioSources can connect to and play through.
You can add and modify the topology of an AudioMixer within the AudioGroup Hierarchy panel.
To add a new AudioGroup to the hierarchy, do either of the following:
To change the topology of an AudioMixer:
This parents the target AudioGroup above the one selected.
To delete an AudioGroup (including its children), do either of the following:
To duplicate an AudioGroup and make it a sibling:
This duplicates the group and child groups exactly, including effects contained within the groups.
To rename an AudioGroup:
The AudioGroup view displays a flat arrangement of the AudioGroups in the AudioMixer. This arrangement is organized horizontally within the view. The current view selection dictates the groups shown in the AudioGroup view.
Each AudioGroup within the view is represented as a vertical “strip”. The layout and look and feel of the strip is common to Digital Audio Workstations and other audio editing packages. This layout facilitates the transition of audio engineers from a music and video background, and is a parallel for audio hardware integration.
The strip is made up of a title bar, followed by a vertical VU meter, which represents the current audio levels through that AudioGroup. Beside the VU meter is a volume selector that allows you to input the AudioGroups attenuation along the same scale as the VU meter, which is represented in dB levels.
Below the VU meter are three buttons with the following functionality:
The AudioGroup also contains a list of DSP Effect Units and the Attenuation Units in the AudioGroup. The attenuation can be applied anywhere in the Effect Unit chain in an AudioGroup and allows you to decide exactly where you apply the volume adjustment. This is useful for non-linear effects and Send and Receive Units.
Each Effect Unit slot displays the name of the Effect unit that is being applied. The circle on the left side of the effect is a toggle to enable or bypass that individual effect. If you right-click the effect and select Allow Wet Mixing, the colored bar on the bottom of the screen becomes active. This colored bar denotes the amount of wet signal that passes through the effect.
To refine the order of effects, drag an effect up and down the audiogroup. You can also drag effects across AudioGroups to move the effect to another AudioGroup.
To add new Effect Units, right-click on an existing effect to add it before or after it, or select Add.. at the bottom of the strip.
In the Snapshot panel, you can create, switch between, and tweak different Snapshots in the AudioMixer. There is always at least one snapshot active. Selection of a snapshot within the Snapshot panel indicates that further edits of the AudioMixer are edits to that snapshot.
Snapshots defined in the Snapshot panel also display as sub-assets of the AudioMixer. This allows you to access the snapshots elsewhere in the editor and within scriptsA piece of code that allows you to create your own Components, trigger game events, modify Component properties over time and respond to user input in any way you like. More info
See in Glossary.
You can also define a Start Snapshot. A Start Snapshot has a star icon to its right on the snapshot list. The Start Snapshot is the snapshot that the AudioMixer initializes to when it loads. For example, when the scene starts.
To create a new Snapshot:
To define a different Start Snapshot:
Views allow you to create groups of visible AudioGroups in the AudioMixer. With views, you can create perspectives of interest into the AudioMixer, instead of always being presented with the full hierarchy. Views are only for workflow optimization and don’t affect runtime setup or performance.
Like the Snapshot panel, there is always one view selected and shown in the AudioGroup View. By default, all AudioGroups are visible in the default view. The eye icons in the Hierarchy panel control what is contained in a view.
To add a new view to the list of views;
To change the current view, select one from the list of views in the Views panel.
To remove a view:
To duplicate a view with all of the current view settings:
Each AudioGroup in the Hierarchy panel has a small eye icon to the left of the group. This icon serves two purposes: