Move nearer to your CPU. Is the sound coming from there?
Also, mute all sounds. Any more sounds?
If you answer yes after muting all sounds, it's probably hardware.
If you mute all sounds and hear nothing, I'm pretty sure your
computer has something funny going on.