How to increase the pitch of VOIP without it sounding choppy?

I tried increasing the pitch of VOIP by just setting the pitch in the VOIP sound class but it ends up sounding choppy. I think what’s happening is when it’s pitched up it’s also playing faster, so when the audio is sent over half of it’s just silence. What would be the proper way to increase the pitch of VOIP?

Here’s how it sounds like right now: https://youtu.be/qSyC0mQNbZc