Csound Power Errata
An eagle-eyed reader has spotted a couple of code errors in my book Csound Power, so it’s time to set up an Errata page. Actually, I have four items to report.
- In the caption on p. 3, Qt is referred to as a programming language. It isn’t. It’s a development system.
- On p. 123, the bottom code example gives the k-rate value kamp as an amplitude input to an oscil opcode, but kamp is undefined. Instead of replacing oscil in the original example with the two lines shown, replace it with the following three lines, which make use of an amplitude envelope defined using the line opcode:
kampenv line iamp, p3, 0
amod oscil kampenv, kcps * 0.5, ifn
asig oscil amod, kcps, ifn
- A similar error occurs on p. 126, where kfrq is undefined. If you’re inserting this code into the working example on p. 125, you can replace kfrq with ifrq.
- On p. 181, at the top, the line “outs atab, atab” should read “outs aout, aout”.
There are probably a couple more errors lurking somewhere in the book. If you find any, please let me know! You’ll find my email address on page xi, in the Introduction.