Tone output with AVR
they're all the same because you use the same number.

1000/524 == 1

1000/588 == 1

1000/988 == 1

That's just the way integer division works in C

You'll get better results if you use one of the hardware timers directly.