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.

[UE4] AkReverbVolume priority is not working

0 votes
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.
asked Dec 10, 2014 in General Discussion by Richard Goulet (5,700 points)
retagged Dec 10, 2014 by Richard Goulet

1 Answer

+1 vote
Best answer

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++ )


answered Dec 10, 2014 by Benoit S. (Audiokinetic) (16,000 points)
selected Dec 10, 2014 by 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.