You could well have have something conflicting with your sound-card drivers, and additionally you have some 'rogue program' running (poorly coded application which misbehaves and probably has resource leaks etc).
First thing to do is look down the bottom right hand side of your screen, usually near the time. When you start up Windows do lots of little icons appear there?
As a general rule you only really should have programs running when you are actually using them - the rest of the time you would not want them to run. Programs with an icon in that system tray area, are either running or partly running in a 'half readied' state. Check out what those programs are! Look carefully in each of their options. Somewhere should be an option 'not to run at startup' or 'not to run in system tray' or something of that nature.
Anyway, when you have looked through all the programs that were in the system tray, and hopefully stopped some of the unnecassery ones from running at startup, then you should restart Windows

Okay, you should next check for 'ad-applications' that might be running in the background. Ad-applications means little programs that often run in the background and display adverts when you are connected to the internet or use programs that are 'adware sponsored'.
Firstly, I am not saying delete all ad-applications because you might have agreed to install some, but anyway, to get rid of them try running Adaware - do a search for it on the internet, it is by Lavasoft.
Run it and delete anything it finds that you do not want to keep.
After you have deleted the annoying and pesky little ad-applications then restart Windows.
Okay

, now you should Try and see if your sound is any better.
If it is still not then I would check in the BIOS. You should check your user manual or look on the internet for help with any settings, but often 'Turbo' or wrong 'optimal' settings can show up as problems when the system takes on a higher load - this can show up when the PC has been on for a while, especially as resources are used up and not freed again and the system gets hotter. You might want to try SAFE DEFAULTS if you have that option in your BIOS.
After trying that, if still problems then shutdown and turn off your PC. If you are confident and have made sure of reading up on it first, then try moving the cards in your case to different slots - each being spaced apart if possible. Make especially sure to route your soundcard lead away from anything that will get very hot and away from trailing directly on the motherboard or near fan blades

When you replace them and have then turned your PC back on you might have resolved some conflicts, or if you have one of the poorer motherboards, any PCI contention problems or interference may have been resolved.
Now this time when Windows is loaded check if you can play music okay.
If STILL problems, then there are two things to check first (in this order)
(1)uninstall anything like Foobar, Winamp, LAME & XviD.
(2)Install the appropriate version of DirectX from Microsoft (probably latest 9.x version)
THEN Restart Windows, run Windows Update. It is up to you what to install from the list if any choices, but do take critical & driver updates unless you know you have a reason not to.
Then restart Windows again

OK, now UPDATE Both (1)Motherboard (sometimes called mainboard) drivers, i.e. chipset drivers like the VIA Hyperion drivers from www.via.com.tw if you have a VIA board that can use these for example, & then reboot
and then Get latest (2) Your soundcard drivers.
If you install these make sure you have restarted each time afterwards.
Finally! get the latest (or whatever version you prefer) and reinstall XViD, LAME, other audio codecs you want, FooBar2000, etc - it was important to do this after redoing DirectX

Restart Windows
Now everything will hopefully be alright, I dislike Creative Soundcards by the way and Windows because of staticcy interference problems from sloppy coding and conflicts.