# Latency with the Pitch Shifter Effect?

**URL:** <https://qa.fmod.com/t/latency-with-the-pitch-shifter-effect/21878>\
**Category:** FMOD Studio\
**Created:** [July 13, 2024, 1:00pm UTC](https://qa.fmod.com/t/latency-with-the-pitch-shifter-effect/21878 "2024-07-13T13:00:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![theconsoloist](https://avatars.discourse-cdn.com/v4/letter/t/77aa72/32.png) [@theconsoloist](https://qa.fmod.com/u/theconsoloist)\
**Post date:** [July 13, 2024, 1:00pm UTC](https://qa.fmod.com/t/latency-with-the-pitch-shifter-effect/21878/1 "2024-07-13T13:00:56Z")

</div>

So I think I notice quite the latency on with the Pitch Shifter Effect activated. The problem is, that when I apply this to one music layer the latency causes it to fall out of sync with the other layers. Is there any way to compensate for this?

---

<div class="post-metadata">

**Author:** ![li\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/li_fmod/32/6577_2.png) [@li\_fmod](https://qa.fmod.com/u/li_fmod)\
**Post date:** [July 16, 2024, 2:03am UTC](https://qa.fmod.com/t/latency-with-the-pitch-shifter-effect/21878/2 "2024-07-16T02:03:02Z")

</div>

Hi,

> [@theconsoloist](#):
>
> Is there any way to compensate for this?

The latency is correlated to the FFT Size- setting a lower FFT Size should eliminate the latency.

Alternatively, you can compensate with a `Delay` Effect ([FMOD Engine | 10. Effects Reference | 10.1.5 Delay](https://www.fmod.com/docs/2.03/api/effects-reference.html#delay)) to other music layers and tweak the `delay value` to keep them in sync. For example, I found that by setting the `delay value` to 2.20 ms can usually ease the latency caused by Pitch Shifter with FFT size set to around 1.02k.

Hope this helps, let me know if you have any questions.
