Audio frequency generation on AtTiny85

The approach I outlined can generate a sine or any other waveform. You can buffer it to drive a speaker.

There is also another approach: to generate a sine wave via pwm: you will need to load the compare register with the right value to produce a desired wave form. It has the advantage of being very fast but is more difficult to program.