Whenever I have both Teamspeak and Minecraft open at the same time, and my Minecraft starts lagging my Teamspeak starts lagging. My voice becomes robot-like and it is just annoying to lag in general. Can someone explain what is happening here and is there a way to fix it? Thanks. I have added my system specs below in case that is needed.

System Specs:

Processor: Intel(R) Pentium(R) CPU N3530 @ 2.16GHz

Video Card: Intel(R) HD Graphics

RAM: 4.0 GB

Operating System: Microsoft Windows 10 (build 14393), 64-bit