Edit: Nevermind! Turns out it was my fault all along; apparently I've been using my headset wrong all these years! My Turtle Beach P11 headset has a USB cord and an Audio cord. I've only ever used the USB because it simply worked out the box like that. Seems that if I want a stable recording I NEED to use the audio cord. Go figure 😅
So your program is fine and works wondefully! As soon as I get some extra income I'll be sure to pay you for your work!