# FADING, TIMELINES AND PARAMETERS -- How to fade between a few different events all with different loop times -- and to random points?

**URL:** <https://qa.fmod.com/t/fading-timelines-and-parameters-how-to-fade-between-a-few-different-events-all-with-different-loop-times-and-to-random-points/20531>\
**Category:** Unity\
**Tags:** unity, csharp\
**Created:** [August 11, 2023, 11:12pm UTC](https://qa.fmod.com/t/fading-timelines-and-parameters-how-to-fade-between-a-few-different-events-all-with-different-loop-times-and-to-random-points/20531 "2023-08-11T23:12:16Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)\
**Post date:** [August 16, 2023, 5:00am UTC](https://qa.fmod.com/t/fading-timelines-and-parameters-how-to-fade-between-a-few-different-events-all-with-different-loop-times-and-to-random-points/20531/6 "2023-08-16T05:00:07Z")

</div>

I’m glad to hear you were able to get it working.

> [@themojius](#):
>
> I am curious as to why the sounds have what sounds like 100ms of lag before playing…

The various causes of latency are covered in more detail in [this thread](https://qa.fmod.com/t/transitions-latency-when-changing-parameter/14383/35), but the short version is that there are some circumstances where it is physically impossible to avoid latency, and changing the value of a parameter in order to change the behavior of an event involves the intersection of multiple such circumstances.

---

_[View the full topic](https://qa.fmod.com/t/fading-timelines-and-parameters-how-to-fade-between-a-few-different-events-all-with-different-loop-times-and-to-random-points/20531)._
