# EventInstance::setPitch(2.0f) makes sound play twice

**URL:** https://qa.fmod.com/t/eventinstance-setpitch-2-0f-makes-sound-play-twice/13193
**Category:** FMOD Engine
**Created:** [May 20, 2017, 6:46pm UTC](https://qa.fmod.com/t/eventinstance-setpitch-2-0f-makes-sound-play-twice/13193 "2017-05-20T18:46:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![lakibuk](https://avatars.discourse-cdn.com/v4/letter/l/8dc957/32.png) [@lakibuk](https://qa.fmod.com/u/lakibuk)
#### Post date: [May 20, 2017, 6:46pm UTC](https://qa.fmod.com/t/eventinstance-setpitch-2-0f-makes-sound-play-twice/13193/1 "2017-05-20T18:46:19Z")

</div>

I am playing sound effects with changed pitches.  
When i use EventInstance::setPitch(2.0f) the sound is played twice. The 2nd starting a bit after the first. When i do setPitch(3.0f) there’s 3 sounds and so on.  
Why is that so and how to get rid of that?

---

<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: [May 22, 2017, 12:29am UTC](https://qa.fmod.com/t/eventinstance-setpitch-2-0f-makes-sound-play-twice/13193/2 "2017-05-22T00:29:05Z")

</div>

> [@](#):
>
> I am playing sound effects with changed pitches.  
> When i use EventInstance::setPitch(2.0f) the sound is played twice. The 2nd starting a bit after the first. When i do setPitch(3.0f) there’s 3 sounds and so on.  
> Why is that so and how to get rid of that?

We’ll need a little more information to work out the cause of your problem. Are you in a position to describe the content of the event you’re trying to play, including any timeline logic it contains and the looping and sync/async settings of its sound modules?
