Quote Originally Posted by chronozphere
As far as i can tell, you do not need an array to store the tone frequencies. They can be calculated using some formula (You have to search wikipedia, I'm sure it will be there somewhere )
Sorry, I'm not sure what you are talking about.

I'm not storing tone frequencies in any array...

EDIT: Unless you mean my TDDS class in one of my earlier posts?

That is using an array to store tones that are calculated only once so it is faster, and also I can use custom waveforms that are much more complex than the simple Sine, Square, Triangle, Sawtooth waveforms.

I have got an updated version of that now too if you are interested, as well as a TWavetable class which holds TWaveform classes (individual custom waveforms; as simple or complex as you want).

cheers,
Paul