Yes, my TS-2068 still works, but that chip was a 4 voice synth already. Very cute, that. Same one was in some Ataris, iirc.
There are a few optimizations to that code that I will show you, if you are interested...
...The first is the use of a sin table, instead of calculating sin each loop, it becomes a table lookup. That is also being worked on - I have routines to generate them for several uses.
One not so obvious use is in obtaining the parameters of speakers for use in designing enclosures. I wrote similar code for the old SoundBlasters to do that.
Another is in generating modulated output similar to a modem, but with some flexibility in the types of modulation you can do.
Periodic waves are also the basis of much analytical software, like some neural networks. As I stated before, that is DSP, and that code is still being worked on. (FFT)
Well, I'm 25 years older now, and I still need the hi-fi sin waves under my control.
The harmonics array is what will color the sound for you. I have an FFT that I can use to sample sounds, and record the harmonic profile, which is what you would use in the set voice. I will sample some instruments, and run the FFT on them. Then, I will plug those numbers into the code, and we will go from there.
Another thing Chewy is that I will be using this in real-time in a couple of weeks; I'm working in a different area altogether now. That will be better, and the click will go away. (Not without a fight, I assume.)
Finally, yes...I have an intent to make sound effects, but not necessarily live ones. I would be happy with making some wind sounds, crickets, etc, and just using them normally. I already have that nice twin-engine prop sound. Bet I could get a decent motorboat out of it.
I don't like PC MIDI, for the most part, but I will be using timestamps (SMPTE) to synchronize the whole thing.