2. The Story of Sound

In the previous chapter, you got your first taste of the Core Audio API: what it offers, how to add it to a project, and how to call its functions. Now it’s time to take a step back and look at the bigger picture: the problems that Core Audio addresses in the first place.

This chapter introduces the basic science of sound, what it is and how it works. As it turns out, the digital nature of computers makes them not well suited to processing continuous analog signals. This leads to the idea of sampling a signal, or chopping the smooth sound waves into discrete values frequently enough that the human ear can’t notice the difference. This chapter covers how these samples are represented and arranged in digital form.

It’s one ...

Get Learning Core Audio: A Hands-On Guide to Audio Programming for Mac and iOS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.