Chapter 7. Real-Time Signal Processing

In this chapter, we will cover the following topics:

  • Configuring the audio codec
  • How to play prerecorded audio
  • Designing a low-pass digital filter
  • How to make an audio tone control

Introduction

In the last chapter, we used the audio codec's beep generator to play a tune, but if you looked at the codec manufacturer's data sheet, you must have noticed that the device can do much more. Audio signals can be recorded by connecting a microphone to the evaluation board's stereo analog audio input, and the signal can be sampled using the audio codec's on-chip ADC. Digital audio can be played by sending digital samples to the codec, and the left and right speakers can be driven by the output of an on-chip DAC. A dedicated ...

Get ARM® Cortex® M4 Cookbook 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.