# BUG: Pitch resample makes click at end, even with zero-crossing

**URL:** <https://qa.fmod.com/t/bug-pitch-resample-makes-click-at-end-even-with-zero-crossing/20664>\
**Category:** FMOD Studio\
**Created:** [September 18, 2023, 3:54pm UTC](https://qa.fmod.com/t/bug-pitch-resample-makes-click-at-end-even-with-zero-crossing/20664 "2023-09-18T15:54:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thommazk](https://avatars.discourse-cdn.com/v4/letter/t/ba8739/32.png) [@thommazk](https://qa.fmod.com/u/thommazk)\
**Post date:** [September 18, 2023, 3:54pm UTC](https://qa.fmod.com/t/bug-pitch-resample-makes-click-at-end-even-with-zero-crossing/20664/1 "2023-09-18T15:54:53Z")

</div>

Hello!

I’ve found an issue in the latest (FMOD 2.02.17) where the instrument clicks whenever you alter its pitch and the audio source beginning isn’t zero-cross, even if the end ends with a fade-out.  
The only way I can avoid clicking is if I apply a micro fade-in, as I’m supposing FMOD is somehow jumping back to the sample’s beginning when it’s over.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/7/74da83d14755b50ff327b7711d35cdbc573198ef.png)  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/c/cb790775440fe4c202a2d503c374dddcd3254dfb.png)

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [September 20, 2023, 6:24am UTC](https://qa.fmod.com/t/bug-pitch-resample-makes-click-at-end-even-with-zero-crossing/20664/2 "2023-09-20T06:24:46Z")

</div>

Hi,

Unfortunately, I was not able to reproduce this issue.

Would it be possible to make a project showing this behavior and have it packaged and [uploaded](https://fmod.com/profile#uploads) to your profile with the following settings:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/d/d9598013a67e0018f53228c2e60e5acd8fd68a29.png)

Please note, to be able to upload to your profile you will have to [register](https://fmod.com/profile#projects) a project with us.
