# About scatterer sound

**URL:** <https://qa.fmod.com/t/about-scatterer-sound/20637>\
**Category:** FMOD Studio\
**Created:** [September 9, 2023, 6:19am UTC](https://qa.fmod.com/t/about-scatterer-sound/20637 "2023-09-09T06:19:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lxy1114](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@lxy1114](https://qa.fmod.com/u/lxy1114)\
**Post date:** [September 9, 2023, 6:19am UTC](https://qa.fmod.com/t/about-scatterer-sound/20637/1 "2023-09-09T06:19:20Z")

</div>

I have a scatterer sound, which has a default range of 1 to 20. I use insect calls in ambient sounds. But when I move the listener’s coordinates, the scatterer’s voice is also affected. Assuming I go to the far left, his voice will only come from the right.How to do it the simplest, so that the sound of the scatterer is not affected by the coordinates of the listener.Please help me, thank you very much.

---

<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:** [September 11, 2023, 3:46am UTC](https://qa.fmod.com/t/about-scatterer-sound/20637/2 "2023-09-11T03:46:31Z")

</div>

There are two ways to do this, depending on whether you want the sounds spawned by the scatterer to be randomly panned and attenuated.

If you do want them to be panned and attenuated, attach the event instance containing the scatterer instrument to the listener, such that they both move in sync.

If you don’t want the sounds spawned by the scatterer to be randomly panned and attenuated, set the scatterer instrument’s min and max distance to 0.

---

<div class="post-metadata">

**Author:** ![lxy1114](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@lxy1114](https://qa.fmod.com/u/lxy1114)\
**Post date:** [September 11, 2023, 5:10am UTC](https://qa.fmod.com/t/about-scatterer-sound/20637/3 "2023-09-11T05:10:57Z")

</div>

First of all, thank you very much for your answer.  
Elaborately, how can I associate event instances with Listeners?  
I am currently using script JavaScript to create this event.  
Or can we only associate them in the API code? I found the listener mask.

---

<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:** [September 12, 2023, 3:53am UTC](https://qa.fmod.com/t/about-scatterer-sound/20637/4 "2023-09-12T03:53:01Z")

</div>

> [@lxy1114](#):
>
> Elaborately, how can I associate event instances with Listeners?

Your game’s code (or your game engine of choice) must already be setting the location of the listener and the event instance somehow. You need to use that method to set them both to the same location, and never move one without moving the other. Without knowing the details of your game’s code or chosen game engine, I’m afraid I cannot be more specific.
