Wwise Authoring is currently not compatible with macOS Catalina. We recommend that you remain on the current version of your operating system until further notice.

Community Q&A

Where Wwise users help each other out!

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

How to mute all Wwise audio in the Unity integration

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!
asked Aug 17, 2016 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
answered Dec 11, 2016 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 !

 

answered Dec 13, 2016 by Rom D (1,000 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.
answered Dec 13, 2016 by Beatrix Moersch (2,820 points)
...