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?