A Digital Signal Processing Primer: with Applications to Digital Audio and Computer Music