Problem with "sound" function and laser harp

You can get dirty sound if you keep the Arduino connected to a PC using a USB cable. Disconnect the USB cable and power the Arduino using the barrel jack. I use type K power coaxial plugs from radio shack. I have also gotten dirty audio music from my custom synthesizer when USB is attached. The noise is silenced when USB is disconnected.