Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

0 votes
How can I temporarily mute Wwise sound in the Unity integration when playing in the editor? Or, how can I temporarily disable Wwise completely?

I've been googling for a mute function, but there doesn't seem to be one. Also, I would expect, that if I set the WwiseGlobal GameObject inactive, leave the AkInitializer disabled and also disable "Enable Wwise engine logging", I would not hear anything from Wwise and don't be bothered by log statements. How is this intended to work? It must somehow be possible to just turn off audio while testing.

 

Thanks in advance for any answers!
in General Discussion by Christopher Y. (100 points)

3 Answers

0 votes
Hi Christ,

Right now your best guess would be creating a game parameter called Master Volume, and bind it to the Master Audio Bus. This should enable the game to control ALL Wwise audio. Simply set game parameter Master Volume to 0 to mute all sounds
by Trung Hieu N. (140 points)
Hi,

My question is how to bind a parameter with the Master Audio Bus in Unity?
0 votes

Hello Christopher,

Ther best way to get audio on/off is to use a State. You can even make a button to have is on and off.

In wwise, use the "State" status" to set the volume to -96 on your master buses when activated.

Enjoy silence !

 

by Rom D (1.1k points)
0 votes
Actually there is a very easy way to do this. Connect your Wwise session to Unity while in Play mode (use the "Remote..." button at the top of Wwise), and then you can Mute and Unmute on the fly directly from Wwise. The "master mute" button you are looking for is on the Master Audio Bus. Just hit the M at the top of the Audio Bus Property Editor and all your Wwise audio will be muted.
by Beatrix Moersch (3.3k points)
...