pulse-width modulated sine wave