Well, at least you aren't alone. This is the first of many hundreds of hits from a casual search on Google
http://www.bluegartr.com/threads/102123-Computer-Freezes-Loud-Noise-from-Speakers
http://forums.obsidian.net/index.php?showtopic=54942
http://www.computing.net/answers/windows-xp/random-freeze-and-strange-noise/143982.html
http://www.overclock.net/intel-cpus/782169-computer-freezes-speakers-make-static-noise.html
No fixes though :-(