Synthesis
I made a middle C with SDL. It’s very basic. I allocate a buffer which is 172 samples long - which happens to be the wavelength of middle C when playing at 44khz. Then I dump than buffer on to the sound card repeatedly.
I would have expected the result to be a nice crisp clear tone, but no, it’s more like FM.
I don’t understand how synthesisers are made.