Chapter 4. Raspberry Pi Audio Input and Output
While many home audio or TV systems include schemas such as Dolby Pro-Logic decoding for commercially produced media such as DVDs and CDs, Internet delivery of music has dramatically increased acceptance of simple stereo 2.1 sound. As a result of broader acceptance of stereo online music or podcast files, most radio stations have a streaming service to match their wireless broadcasts. After completing this chapter, you will be able to:
- Configure the Raspberry Pi to support an internal audio output device and add-on USB audio adapters
- Understand some of the limitations of sound playback devices on the Pi
- Install and configure USB sound devices under ALSA
- Install and configure VLC to play Internet-based "radio" streams
- Create a simple Python text interface to automate VLC
- Create and modify a fully-featured TKinter interface to implement a stereo Internet radio with a clock
- Capture sound from a microphone