Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes
I've been working on a project in UE4, and I made an event which randomly selects one of many aircraft flyby sounds. I used the user-defined positioning to play the sound in a random position as well. Spacialization is enabled. The event is played through an akAmbientSound actor placed in the sky in my level. I have noticed that with a user-defined position source, there is no occlusion. This means when the player goes inside, the flyby sounds are still heard. I am assuming the user-defined positioning forces UE4 to ignore the ambient sound actor position when ray tracing? With game-defined positioning the occlusion works, but then the sounds are not randomly placed in 3d space. Is there any way to get around this? The 3 things I can think of are 1) through scripting in UE4, randomly select a point in space (at random intervals) to trigger a one-shot flyby, 2) stop my event when the player goes indoors or 3) create a field of ambient sound actors.  The problem with 2 is it will be less realistic than the lowpass filter and attenuation offered through occlusion, and 3 seems somewhat improper to me. Does anyone have any suggestions as to how I can solve this?

Many thanks!
in General Discussion by Richard Goulet (5.8k points)
edited by Richard Goulet

1 Answer

+2 votes
 
Best answer
Hi Richard,

You're right that 3D User-Defined is not affected by occlusion. I've just checked with the Ambient Demo (Wwise UE4 integration demo you can find on GitHub) to validate that info.

Have you tought of using a simple event with a "Set LPF" action that is triggered when you go somewhere indoors? That event could target a  bus where your 3D user-defined sounds are routed to.

Hope this helps,

Simon
by Simon A. (Audiokinetic) (3.6k points)
selected by Richard Goulet
Merci Simon. C'est ca que je pensais- la solution doit être de changer le volume avec un filtre lorsque'on est à l'intérieur. C'est quand même assez simple!

Translation: Thanks Simon, that's pretty much what I thought. It should be simple enough to do!
...