One solution to noise and ground loops is to use an isolated sound card for the Pi. If the sound card is magnetically isolated, then noise and hum (ground loops) from the Pi can't get to the acoustic pathway. Matt