# Latency in Events with lots of Audio Data - Video

**URL:** <https://qa.fmod.com/t/latency-in-events-with-lots-of-audio-data-video/17314>\
**Category:** Unreal Engine\
**Created:** [June 9, 2021, 10:16pm UTC](https://qa.fmod.com/t/latency-in-events-with-lots-of-audio-data-video/17314 "2021-06-09T22:16:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThomasDimitri](https://avatars.discourse-cdn.com/v4/letter/t/e480ec/32.png) [@ThomasDimitri](https://qa.fmod.com/u/ThomasDimitri)\
**Post date:** [June 9, 2021, 10:16pm UTC](https://qa.fmod.com/t/latency-in-events-with-lots-of-audio-data-video/17314/1 "2021-06-09T22:16:12Z")

</div>

Hey everyone, I am setting events to animations such as footsteps in UE4.26 with Studio 2.01.05.

I have noticed there is a delay from when the animation notifier is set to when I actually hear the sound fire. I made a short video below.

[https://drive.google.com/file/d/1fWyo1RNSpjEyeKOaOGgv7PZoCPeMTDFI/view?usp=sharing](https://drive.google.com/file/d/1fWyo1RNSpjEyeKOaOGgv7PZoCPeMTDFI/view?usp=sharing)

This only seems to occur with events with lots of data in them. I have included a video that demonstrate this. A simple one shot sound (in this instance, I have used a short synth stab) fires when it should however my footstep event which carries lots of of audio for different ground materials and character clothing (aprox 20 multi events with 6 - 9 short audio files in each) has about a 13 or so frame delay.

As I remove audio files from the event, the latency decreases. I have already adjusted the games buffer size to improve overall performance but this issue remain.

Can someone explain this to me or if there is a way to improve this? Please see the video above for full reference.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Alcibiade](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/alcibiade/32/4284_2.png) [@Alcibiade](https://qa.fmod.com/u/Alcibiade)\
**Post date:** [June 9, 2021, 11:41pm UTC](https://qa.fmod.com/t/latency-in-events-with-lots-of-audio-data-video/17314/2 "2021-06-09T23:41:36Z")

</div>

Did you try with the “load sample data” option when loading the bank? Maybe a heavy event will benefit from being entirely pre-loaded in memory.  
Did you check if the delay is still present on the built game?

---

<div class="post-metadata">

**Author:** ![ThomasDimitri](https://avatars.discourse-cdn.com/v4/letter/t/e480ec/32.png) [@ThomasDimitri](https://qa.fmod.com/u/ThomasDimitri)\
**Post date:** [June 10, 2021, 2:22am UTC](https://qa.fmod.com/t/latency-in-events-with-lots-of-audio-data-video/17314/3 "2021-06-10T02:22:12Z")

</div>

Hey,

Yes just did a build and went through and tested and still found there to be a delay.

Any other thoughts?

---

<div class="post-metadata">

**Author:** ![ThomasDimitri](https://avatars.discourse-cdn.com/v4/letter/t/e480ec/32.png) [@ThomasDimitri](https://qa.fmod.com/u/ThomasDimitri)\
**Post date:** [June 15, 2021, 2:01am UTC](https://qa.fmod.com/t/latency-in-events-with-lots-of-audio-data-video/17314/4 "2021-06-15T02:01:42Z")

</div>

Bumping this

---

<div class="post-metadata">

**Author:** ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)\
**Post date:** [June 17, 2021, 4:07am UTC](https://qa.fmod.com/t/latency-in-events-with-lots-of-audio-data-video/17314/5 "2021-06-17T04:07:23Z")

</div>

Are you able to attach a profiler session to the UE4 editor session and record this happening? It might show some insight like running out of memory or CPU. Could you also check the UE4 console to see if FMOD is firing any warnings?

---

<div class="post-metadata">

**Author:** ![ThomasDimitri](https://avatars.discourse-cdn.com/v4/letter/t/e480ec/32.png) [@ThomasDimitri](https://qa.fmod.com/u/ThomasDimitri)\
**Post date:** [June 18, 2021, 2:23am UTC](https://qa.fmod.com/t/latency-in-events-with-lots-of-audio-data-video/17314/6 "2021-06-18T02:23:17Z")

</div>

Please see the attached video. i know its a little hard to follow but check out towards the end when i replay and try to follow the needle.

No errors coming up

[https://dl.dropboxusercontent.com/s/2qynf1ils1m43vu/2021-06-17\_19-15-27.mp4?dl=0](https://dl.dropboxusercontent.com/s/2qynf1ils1m43vu/2021-06-17_19-15-27.mp4?dl=0)

---

<div class="post-metadata">

**Author:** ![ThomasDimitri](https://avatars.discourse-cdn.com/v4/letter/t/e480ec/32.png) [@ThomasDimitri](https://qa.fmod.com/u/ThomasDimitri)\
**Post date:** [June 24, 2021, 10:55pm UTC](https://qa.fmod.com/t/latency-in-events-with-lots-of-audio-data-video/17314/7 "2021-06-24T22:55:26Z")

</div>

Bumping

---

<div class="post-metadata">

**Author:** ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)\
**Post date:** [June 28, 2021, 5:04am UTC](https://qa.fmod.com/t/latency-in-events-with-lots-of-audio-data-video/17314/8 "2021-06-28T05:04:57Z")

</div>

As you said this video is a bit difficult to follow. I understand that there is latency happening but are you able to send this profiler session to us? Right click on the saved session and package it up. You can DM me for privacy reasons.

---

<div class="post-metadata">

**Author:** ![ThomasDimitri](https://avatars.discourse-cdn.com/v4/letter/t/e480ec/32.png) [@ThomasDimitri](https://qa.fmod.com/u/ThomasDimitri)\
**Post date:** [June 28, 2021, 5:46pm UTC](https://qa.fmod.com/t/latency-in-events-with-lots-of-audio-data-video/17314/9 "2021-06-28T17:46:51Z")

</div>

Thanks Richard, DM incoming
