Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

How to mute all Wwise audio in the Unity integration

0 투표
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!
문의 2016 8월 17 General Discussion Christopher Y. (100 포인트) 로 부터

3 답변

0 투표
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
답변 2016 12월 11 Trung Hieu N. (140 포인트) 로 부터
Hi,

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

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 !

 

답변 2016 12월 13 Rom D (1,070 포인트) 로 부터
0 투표
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.
답변 2016 12월 13 Beatrix Moersch (3,280 포인트) 로 부터
...