Jim Aikin's Oblong Blob

Random Rambling & Questionable Commentary

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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

Join 83 other followers

%d bloggers like this: