Exercises and examples from The Audio Programming Book