discord audio distorted code example
Example: music distorted on discord
I had that problem for years and found that the easy solution is to
switch your mic so that you use the one that's built into the computer.
System settings > Sound > Input and click on the one that's named build
in microphone.