Audio Mixer:
In Unity, an Audio Mixer lets you organize, mix, and apply effects to various audio sources. it can be used to create moods, categorize sounds, and transition between audio to create moods as the player progresses through a game.
You can create one or more Audio Mixer and have more than one active at any time. Other groups can then be added to define the structure of the Audio Mixer, the mixer always contains a master group which controls all children, audio channels of that mixer as a whole.
One consideration that needs to be taken in when using the volume control of of an Audio mixer is that it scales Logarithmically, where as other sliders within unity if you wish to make a user accessible sound control, scale Lineally which will need to be converted when setting up the function.
To make each audio channel useable to be controlled by Unity UI sliders the audio channel parameter needs to be accessible, and must be exposed to become useable usable within a script

Comments
Post a Comment