Where to get started with audio occlusion?

So, I have made a massive map in which most of my game will take place in. It is all indoors, so I was looking for a way to make the ambient sound of the light humming that came in the starter pack only audible in the rooms you are in, while still spatializing it in these rooms. In other words, I was looking for a way to make these sounds inaudible while there are doors/walls in the way, so that you didn’t hear the light humming from multiple different rooms at once. I found that audio occlusion works best for this kind of situation. Only problem is that I have no idea how to make this possible in ue4, as I am still a little new to it. If anyone could tell me where to start, that’d be awesome.

Have you checked out the 4.11 release notes about the new audio occlusion feature for 4.11?


Prior to 4.11, UE4 did not support audio occlusion so if you’re on 4.8, unfortunately there isn’t an easy way to do it. The standard way for earlier versions was to create an audio volume that attenuates sounds that play outside the zone. That works for simple cases but is laborious to set up for any sort of complex room geometry. If you can, I recommend trying to upgrade to 4.11 since there’s been a huge number of features in general (and specifically a bunch of cool audio features). In 4.11, sound occlusion is easy – it’s just new data in the sound attenuation settings structure you’re already using for 3d sound settings/attenuation. It automatically will add a low pass filter and/or volume attenuation to sounds that play with that attenuation struct.

1 Like

Wow that’s a lot less complicated than I thought it was going to be. Looks like I need to update the engine. Thanks!