社区问答

欢迎来到 Audiokinetic 社区问答论坛。在此,Wwise 和 Strata 用户可互帮互助。如需我们团队直接提供协助,请前往技术支持申请单页面。若要报告问题,请在 Audiokinetic Launcher 中选择“报告错误”选项(注意,问答论坛并不会接收错误报告)。我们内部设有专门的错误报告系统,会有专人查看报告并设法解决问题。

要想尽快得到满意的解答,请在提问时注意以下几点:

  • 描述尽量具体:比如,想达到什么样的目的,或者具体哪里有问题。
  • 包含关键细节:比如,Wwise 和游戏引擎版本以及所用操作系统等等。
  • 阐明所做努力:阐明自己为了排除故障都采取了哪些措施。
  • 聚焦问题本身:聚焦于问题本身的相关技术细节,以便别人可以快速找到解决方案。

0 投票
It seems that no matter what, overlapping AkReverbVolumes will always blend as if they were the same priority. If I create one volume with priority 1, and an overlapping one with priority 5, they will both be blended 50/50 in the overlapping area.  Is anyone else having this problem? Is there a way around this?

This is mainly an issue as  I need to have a large volume enclosing the entire level (for an outdoors reverb profile) and other higher priority ones for indoors which will override the outdoors volume.
分类:General Discussion | 用户: Richard Goulet (5.8k 分)
标签修改 用户:Richard Goulet

1个回答

+1 投票
 
已采纳

This is by design. The Wwise SoundEngine supports up to 4 Game-defined auxiliary sends. What happens is that the integration builds a list of all ReverbVolumes at a position, sorts that list by priority, and then sends the first four to the SoundEngine. In your case, you only have two volumes at the same place, so both get set.

If you wish to change this behavior, look for AK_MAX_AUX_PER_OBJ in the code (there should be two places, and both lines are similar). The original line is:

for( int32 Idx = 0; Idx < CurrentAkReverbVolumes.Num() && Idx < AK_MAX_AUX_PER_OBJ; Idx++ )
 
change it to (for only one volume at a time) :
 
for( int32 Idx = 0; Idx < CurrentAkReverbVolumes.Num() && Idx < 1; Idx++ )
 

 

用户: Benoit S. (Audiokinetic) (16.0k 分)
采纳于 用户:Richard Goulet
Thanks Benoit. That brings up another concern though- if we restrict the reverb volumes to 1 aux channel, will we also be hurting the fade in/out behaviour of going from one volume to another? Thanks.
You're right. The way the code is built at the moment, this could potentially yield weird results with fades. You would need to change the UAkComponent::ApplyAkReverbVolumeList function to "accept" only one new reverb volume when a new one is found, and keep the existing ones that are in the process of fading.
C'est beau, merci! I will see if the programmers can work something out- if not I can always create exterior volumes that specifically cover exterior areas instead of one big one that covers the entire level.
Hi, just wanted to give a follow up on this issue. My programmer ended up cleverly modifying the code to keep the 4 aux buses, AND allow up to 4 to be used simultaneously. The code just checks to see if the reverb volume name contains the the "exterior". If one exists, all others will fade out and the exterior volume overrides. If not, it's business as usual.

Cheers!
...