DSP horror

So i started playing around with a bunch of sawtooths and it sounded quite horrible. I’m not a DSP-guru of any sort and had the bitter sweet sensation of learning about aliasing the hard way. I learnt what it takes to generate better sound, but even the simplest thing such as generating a sawtooth waveform became complicated as hell. Later i learnt that unintended noise, distortion and aliasing lurk everywhere in audio DSP, just waiting to drive a poor engineer insane.