Sorry, I'm not sure what you are talking about.Originally Posted by chronozphere
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).