At 04:37 PM 3/6/00 -0500, you wrote: >Considering the sine wave PWM generated, I wonder about the totally >unpredictable harmonics from the combination of several different pulse >width along the stream. Square waves are terrible to deal to avoid >harmonics, except when you know exactly the fundamental fo's and the >harmonics composition, otherwise, as a sine wave generator with variable >frequency, it is a real pain. The most comprehensible approach to avoid >them is using PWM cycles in the order of several MHz with prime numbers >as the base for level control, so they will not repeat or cause >alliasing. If you used a boxcar integrator, clocked at 2X, then you could get rid of all the evens anyway. I'm still looking for a way to nuke the odds. (I know it's all odds in your app)