dds sine wave frequency changing

That code uses essentially the same sinewave table and DDS technique so it's going to produce the same audio. I think you'll have to work on your audio filter to improve the sound.

Pete