That totally went over my head So you open and close a PWM signal to produce a sine?
On a scope you see the 50Hz at one scale, and then zoomed, you start to see square edges from the pic? because after all, the output is binary.
Do you then filter the output and get it round?