Okay, so it works, but now my bgm's aren't looping correctly. There's a gap, a 1/2 second and very noticable gap before it goes from the end to the beginning.
I checked the files. They loop flawlessly in iTunes, Adobe Soundbooth, Logic, and Audacity.
I tried mp3. Still has gaps.
I tried wav. Still has gaps.
I'm about to try .ogg, but I'm not hopeful.
The only thing that remains that could cause this problem is ... this script.