menu
 

La section Questions et réponses de la communauté Audiokinetic est un forum où les utilisateurs de Wwise et de Strata peuvent poser des questions et répondre à celles des autres membres de la communauté. Si vous souhaitez obtenir une réponse de la part de l'équipe de soutien technique d'Audiokinetic, veillez à utiliser le formulaire de Tickets de Soutien.

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!
dans General Discussion par Christopher Y. (100 points)

3 Réponses

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
par 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 !

 

par 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.
par Beatrix Moersch (3.3k points)
...