# UE4 - How to optimize ambient sound?

**URL:** <https://forums.unrealengine.com/t/ue4-how-to-optimize-ambient-sound/251177>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [September 16, 2021, 11:18pm UTC](https://forums.unrealengine.com/t/ue4-how-to-optimize-ambient-sound/251177 "2021-09-16T23:18:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DraxFX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DraxFX](https://forums.unrealengine.com/u/DraxFX)\
**Post date:** [September 16, 2021, 11:18pm UTC](https://forums.unrealengine.com/t/ue4-how-to-optimize-ambient-sound/251177/1 "2021-09-16T23:18:06Z")

</div>

Hi, I created a blueprint with a sound component, to play a certain type of ambient sound in 10 different locations, then I click play and my FPS drops from 90 to 55… OMG

then, instead of using a BP I addet “ambiensound” objets to the viewport, (BTW all my cues have attenuation limits, you wont heard the sound unless you are close) than I click play… same problem, FPS drops… I delete them all, and FPS returns to 90 to 120

How to optimize sound?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 17, 2021, 9:01am UTC](https://forums.unrealengine.com/t/ue4-how-to-optimize-ambient-sound/251177/2 "2021-09-17T09:01:07Z")

</div>

How many ambient sound objects?

---

<div class="post-metadata">

**Author:** ![DraxFX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DraxFX](https://forums.unrealengine.com/u/DraxFX)\
**Post date:** [September 18, 2021, 2:39am UTC](https://forums.unrealengine.com/t/ue4-how-to-optimize-ambient-sound/251177/3 "2021-09-18T02:39:27Z")

</div>

Just about 10 ambient sounds (all limited to an area), plus a background sound.

Kind of a solution: For now I created Blueprints to handle the cues, so when the actor is way to far, each sound is de-activated, that restored my FPS.

A new problem:

UE4 sound is soooo low… and I received a bad feedback for that in an store long ago, in order to improve this I went to the “master” (project settings) and raised volume from 1 to 7, now it sounds better, but I can not raise it more than that, changing the value to 15 for example, does nothing… BUT, now… sometimes (not always) some sounds when I reach to their location, they kind of saturate the buffer and sound bad, they produce a heavy noise to the track like if the speaker is about to break LOL, I thought I could fix this by setting them to a higher “priority” inside each track… not working, noise keeps appearing, is there something I can do to fix it?

To test if it wasn’t my PC, I played a game with high volume… no problem, only with UE4… and even at 7, volume sounds lower that the game I tested.

Do you know another way to raise UE volume?  
How to avoid strong sounds from saturating UE4?

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [September 18, 2021, 4:30am UTC](https://forums.unrealengine.com/t/ue4-how-to-optimize-ambient-sound/251177/4 "2021-09-18T04:30:35Z")

</div>

To avoid strong sounds from saturating the output (and clipping) and yet having softer sounds be head, you need to apply proper gain structure. Balancing all the different audio levels is an art, just like, say, using color schemes that go well, or designing animations that look natural.

The FPS should not change that much from audio cues. You must be doing something else, like adding a separate convolution reverb per sound object, or re-starting the sound objects every frame, or doing some call inside Tick, or something?

---

<div class="post-metadata">

**Author:** ![DraxFX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DraxFX](https://forums.unrealengine.com/u/DraxFX)\
**Post date:** [September 18, 2021, 6:00am UTC](https://forums.unrealengine.com/t/ue4-how-to-optimize-ambient-sound/251177/5 "2021-09-18T06:00:24Z")

</div>

I just added the cues to the viewport with the default settings, the only setting that I changed, was the Attenuation, so the audio goes down, when reaching the max distance, nothing else.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 18, 2021, 7:28am UTC](https://forums.unrealengine.com/t/ue4-how-to-optimize-ambient-sound/251177/6 "2021-09-18T07:28:47Z")

</div>

I have certainly laid out various ambient sounds with attenuation, it’s not a problem.

As for the sound being too low, take a look at the waveforms in the content browser. This sound

![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/b/fb0d7aba08285a00479b7da9595e5826fa40b169.png)

is well formed, this sound

![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/a/2a33f11609dd12e57b33e91c2ab63d957762dc96.png)

is too quiet.

Don’t adjust the main project volume, because, as you’ve probably realized, this will screw everything else…
