# 2D Spatialization

**URL:** <https://qa.fmod.com/t/2d-spatialization/15683>\
**Category:** Unity\
**Created:** [April 23, 2020, 2:33pm UTC](https://qa.fmod.com/t/2d-spatialization/15683 "2020-04-23T14:33:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SwordFab](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@SwordFab](https://qa.fmod.com/u/SwordFab)\
**Post date:** [April 23, 2020, 2:33pm UTC](https://qa.fmod.com/t/2d-spatialization/15683/1 "2020-04-23T14:33:33Z")

</div>

Hello, I have a problem with the transition from L to R.  
This is the video to let you understand:

the green dot is the listener and the listener and the event emitter are aligned on the same z.

I am making a 2d game but what this audio to be affected by the x and y coordinates, and I want to achieve the same effect I have on the fmod editor.

---

<div class="post-metadata">

**Author:** ![SwordFab](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@SwordFab](https://qa.fmod.com/u/SwordFab)\
**Post date:** [April 25, 2020, 7:19am UTC](https://qa.fmod.com/t/2d-spatialization/15683/3 "2020-04-25T07:19:08Z")

</div>

Basically I’m looking for a way to achieve a specialization in 2D with an automatic pan system like shown in the editor.

---

<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:** [April 27, 2020, 7:27am UTC](https://qa.fmod.com/t/2d-spatialization/15683/4 "2020-04-27T07:27:58Z")

</div>

It sounds a bit like the location of the event emitter is not updating very fast. Are you able to record a Live Update profiler session of this happening? It might help seeing what exactly is going on. You can package the recorded session and upload it to here for us to take a look at.

---

<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:** [April 27, 2020, 9:59pm UTC](https://qa.fmod.com/t/2d-spatialization/15683/5 "2020-04-27T21:59:02Z")

</div>

Actually looking at the video again, I’m assuming this is a 2D Unity game. Your spatializer is likely to be set to 0-20 min/max distance attenuation. Try increasing the max distance and see if this helps.

---

<div class="post-metadata">

**Author:** ![BeckyStreet](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@BeckyStreet](https://qa.fmod.com/u/BeckyStreet)\
**Post date:** [January 14, 2021, 4:07pm UTC](https://qa.fmod.com/t/2d-spatialization/15683/6 "2021-01-14T16:07:23Z")

</div>

I’m currently experiencing the same issue as @SwordFab showed in their video and have tried changing the mix/max distance slider but it doesn’t help. Any ideas as to why this is happening?

---

<div class="post-metadata">

**Author:** ![BeckyStreet](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@BeckyStreet](https://qa.fmod.com/u/BeckyStreet)\
**Post date:** [January 14, 2021, 4:49pm UTC](https://qa.fmod.com/t/2d-spatialization/15683/7 "2021-01-14T16:49:29Z")

</div>

Just figured it out, turns out I had the studio listener on the player object rather than the camera. fixed it for me!
