I want to use mega8 to generate a sine wave using it's PWM output. The frequency range would be from 20Hz to 20KHz (audio frequency). What is the good PWM frequency should I use? How do I calculate the output filter? Consider I'm just using simple RC filter.