We are about to switch to a new forum software. Until then we have removed the registration on this forum.
The book, "Processing : An Introduction ..." has not the chapter about sound. But the Processing website page about the book refers it. It may be a mistake from 'Copy and Paste into'! ^.^;
cf. The book, "The SparkFun Guide to Processing" has it.
Look at the minim library
Looks like the error is here:
Could you submit an issue on the docs repo -- or just correct the page and submit a pull request?