True, you could do it that way. Or, you could generate a perfect square wave
and divide it be 2 to produce each successive lower octave. Or, you could
generate a perfect triangular wave (which also gives a square wave between
the ramp up and ramp down portions), and squash that into a sine wave. Choose
your flavor?
Herb