Check this thread. I was trying to do the same thing.
http://www.chiefdelphi.com/forums/sh...ad.php?t=77614
After trying to write a PWM class for my computer I decided that it would be easier to use a stamp as a PWM serial interface. I happened to have one, so it was very simple to do. You could also use a PIC. Any cheap microcontroller will do.